summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-14 15:36:04 +0100
committerErik Johnston <erik@matrix.org>2015-05-14 15:36:04 +0100
commit96c5b9f87cd5d959d0976487399d4b913082598d (patch)
tree6add5f1704f55b1fad797bb7d57419ac6e6bba8b /synapse/storage/events.py
parentAwful idea for speeding up fetching of events (diff)
downloadsynapse-96c5b9f87cd5d959d0976487399d4b913082598d.tar.xz
Don't start up more fetch_events
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index be88328ce5..0859518b1b 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -566,6 +566,7 @@ class EventsStore(SQLBaseStore):
                     "do_fetch",
                     do_fetch
                 )
+                self._event_fetch_ongoing = True
 
         res = yield d