mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:44:49 -04:00
Fix tests
This commit is contained in:
parent
4abcff0177
commit
f091061711
2 changed files with 3 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue