summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-09-07 10:06:38 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-09-07 10:06:38 +0100
commit20fcc711e894dbcdca4038c6caacb067210b4d40 (patch)
treeb8efe143e42a5d4f6aff4af1e145df8abc8e86e5
parentNewsfile (diff)
downloadsynapse-github/rei/gsgfg2.tar.xz
-rw-r--r--synapse/storage/databases/state/store.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py
index 97594d9b7f..f9ae6812e5 100644
--- a/synapse/storage/databases/state/store.py
+++ b/synapse/storage/databases/state/store.py
@@ -390,9 +390,7 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore):
                     inflight_requests.append((group, make_deferred_yieldable(result)))
                     continue
 
-            if try_combine_inflight_requests(
-                group, state_filter, inflight_requests
-            ):
+            if try_combine_inflight_requests(group, state_filter, inflight_requests):
                 # succeeded in finding in-flight requests that could be combined
                 # together to give all the state we need for this group.
                 continue