diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2021-08-05 16:39:13 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2021-08-05 16:39:13 +0100 |
commit | 0736840f1e66e2da90a3138fb78a0636247173bb (patch) | |
tree | 0b004d1da45fad049e9d12cd2ff524852c536d80 | |
parent | Fix up type checking and ENABLE THE FILE :) (diff) | |
download | synapse-0736840f1e66e2da90a3138fb78a0636247173bb.tar.xz |
set timeout to zero
-rw-r--r-- | synapse/storage/databases/state/store.py | 5 |
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): |