diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-15 16:36:03 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-15 16:36:03 +0100 |
commit | 9ff7f66a2be6d3f0542b69e784b400df349869ff (patch) | |
tree | 6d0d5dceb30a0d8a7570c426b3729ae7e9603d2f /synapse/storage | |
parent | Don't completely drain the list (diff) | |
download | synapse-9ff7f66a2be6d3f0542b69e784b400df349869ff.tar.xz |
init j
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 6ee2e9a485..f21364606d 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -506,6 +506,7 @@ class EventsStore(SQLBaseStore): try: with self._event_fetch_lock: tot = 0 + j = 0 for j, lst in enumerate(self._event_fetch_list): if tot > 200: break |