mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-25 22:54:07 +00:00
fix: defer.returnValue takes one argument
This commit is contained in:
@@ -115,7 +115,7 @@ class BackgroundUpdateStore(SQLBaseStore):
|
||||
"No more background updates to do."
|
||||
" Unscheduling background update task."
|
||||
)
|
||||
defer.returnValue()
|
||||
defer.returnValue(None)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def do_next_background_update(self, desired_duration_ms):
|
||||
|
||||
Reference in New Issue
Block a user