summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-14 15:40:21 +0100
committerErik Johnston <erik@matrix.org>2015-05-14 15:40:21 +0100
commit142934084a374c3e47b63939526827f5afa7410d (patch)
treedb132c982d325bde946efc8a205628a80d88eded /synapse/storage/_base.py
parentDon't start up more fetch_events (diff)
downloadsynapse-142934084a374c3e47b63939526827f5afa7410d.tar.xz
Count and loop
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index c20ff3a572..97bf42469a 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -301,7 +301,7 @@ class SQLBaseStore(object):
 
         self._event_fetch_lock = threading.Lock()
         self._event_fetch_list = []
-        self._event_fetch_ongoing = False
+        self._event_fetch_ongoing = 0
 
         self.database_engine = hs.database_engine