summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2021-12-20 11:52:11 +0000
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2021-12-20 11:52:11 +0000
commit232be1d25dc970cc3742b9ecad828d5f154bd9fb (patch)
tree9ba210d6a16c6a4ae5fccf39520baa10b1c6b893
parentMerge branch 'develop' into rei/gsfg_1 (diff)
downloadsynapse-232be1d25dc970cc3742b9ecad828d5f154bd9fb.tar.xz
Fix up misunderstanding (fixes tests)
-rw-r--r--synapse/storage/databases/state/store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py
index 58921f7783..75de8fe3ca 100644
--- a/synapse/storage/databases/state/store.py
+++ b/synapse/storage/databases/state/store.py
@@ -333,7 +333,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore):
         # We don't immediately await the result, so must use run_in_background
         # But we DO await the result before the current log context (request)
         # finishes, so don't need to run it as a background process.
-        request_deferred = run_in_background(_the_request())
+        request_deferred = run_in_background(_the_request)
         observable_deferred = ObservableDeferred(request_deferred)
 
         # Insert the ObservableDeferred into the cache