mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 15:34:18 -05:00
fix: defer.returnValue takes one argument
This commit is contained in:
parent
2ee4c9ee02
commit
955ef1f06c
@ -115,7 +115,7 @@ class BackgroundUpdateStore(SQLBaseStore):
|
|||||||
"No more background updates to do."
|
"No more background updates to do."
|
||||||
" Unscheduling background update task."
|
" Unscheduling background update task."
|
||||||
)
|
)
|
||||||
defer.returnValue()
|
defer.returnValue(None)
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def do_next_background_update(self, desired_duration_ms):
|
def do_next_background_update(self, desired_duration_ms):
|
||||||
|
Loading…
Reference in New Issue
Block a user