summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-25 16:01:46 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-25 16:01:46 +0100
commit2ee4c9ee023a50ae7c0800c34c609886fb27298f (patch)
tree495c0d411ebe3673ac1e786a2bcb39a73936f249 /synapse/storage
parentbackground updates: Fix assertion to do something (diff)
downloadsynapse-2ee4c9ee023a50ae7c0800c34c609886fb27298f.tar.xz
background updates: fix assert again
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/background_updates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py
index 321c889b2f..af9bfbbe47 100644
--- a/synapse/storage/background_updates.py
+++ b/synapse/storage/background_updates.py
@@ -88,7 +88,7 @@ class BackgroundUpdateStore(SQLBaseStore):
 
     @defer.inlineCallbacks
     def start_doing_background_updates(self):
-        assert self._background_update_timer is not None, \
+        assert self._background_update_timer is None, \
             "background updates already running"
 
         logger.info("Starting background schema updates")