1
0

set timeout to zero

This commit is contained in:
Olivier Wilkinson (reivilibre)
2021-08-05 16:39:13 +01:00
parent 4bb7bc8ffd
commit 0736840f1e

View File

@@ -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):