1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py
index af9bfbbe47..30d0e4c5dc 100644
--- a/synapse/storage/background_updates.py
+++ b/synapse/storage/background_updates.py
@@ -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):
|