summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-05 16:39:13 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-08-05 16:39:13 +0100
commit0736840f1e66e2da90a3138fb78a0636247173bb (patch)
tree0b004d1da45fad049e9d12cd2ff524852c536d80
parentFix up type checking and ENABLE THE FILE :) (diff)
downloadsynapse-0736840f1e66e2da90a3138fb78a0636247173bb.tar.xz
set timeout to zero
-rw-r--r--synapse/storage/databases/state/store.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/databases/state/store.py b/synapse/storage/databases/state/store.py

index e4b47ff8e0..24ca6bcaae 100644 --- a/synapse/storage/databases/state/store.py +++ b/synapse/storage/databases/state/store.py
@@ -96,8 +96,9 @@ class StateGroupDataStore(StateBackgroundUpdateStore, SQLBaseStore): self.hs.get_clock(), # REVIEW: why do the other 2 have asterisks? should this one too? "*stateGroupFromGroupCache*", - # TODO: not tuned - timeout_ms=30_000, + # we're only using this cache to track in-flight requests; + # the results are added to another cache once complete. + timeout_ms=0, ) def get_max_state_group_txn(txn: Cursor):