mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-24 09:39:25 -05:00
background updates: fix assert again
This commit is contained in:
parent
9dbd903f41
commit
2ee4c9ee02
@ -88,7 +88,7 @@ class BackgroundUpdateStore(SQLBaseStore):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def start_doing_background_updates(self):
|
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"
|
"background updates already running"
|
||||||
|
|
||||||
logger.info("Starting background schema updates")
|
logger.info("Starting background schema updates")
|
||||||
|
Loading…
Reference in New Issue
Block a user