From 0736840f1e66e2da90a3138fb78a0636247173bb Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Thu, 5 Aug 2021 16:39:13 +0100 Subject: set timeout to zero --- synapse/storage/databases/state/store.py | 5 +++-- 1 file 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): -- cgit 1.4.1