diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-31 16:34:40 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-31 16:34:40 +0100 |
commit | f0910617111fe81b79777a2c597b1e4240d61a9a (patch) | |
tree | 0288425f6fe85f26b5fdcb6b8656fe4b224b214e /synapse/storage | |
parent | Fix typo (diff) | |
download | synapse-f0910617111fe81b79777a2c597b1e4240d61a9a.tar.xz |
Fix tests
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/user_directory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py index 9137fc24ea..348064436f 100644 --- a/synapse/storage/user_directory.py +++ b/synapse/storage/user_directory.py @@ -221,6 +221,7 @@ class UserDirectoryStore(SQLBaseStore): txn.execute(sql, (prev_stream_id,)) total = 0 + max_stream_id = prev_stream_id for max_stream_id, count in txn: total += count if total > 50: |