summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-01-16 15:08:17 +0000
committerErik Johnston <erik@matrix.org>2017-01-16 15:08:17 +0000
commit897f8752da3c9f7b2d214fe91e8356be5db545c3 (patch)
tree9418fef541028db04b6f55867da127b9f4a76bba /synapse/state.py
parentAdd support for 'iterable' to ExpiringCache (diff)
downloadsynapse-897f8752da3c9f7b2d214fe91e8356be5db545c3.tar.xz
Up cache max entries for state
Diffstat (limited to 'synapse/state.py')
-rw-r--r--synapse/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state.py b/synapse/state.py
index 461e82acdf..66e1a685e8 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -41,7 +41,7 @@ KeyStateTuple = namedtuple("KeyStateTuple", ("context", "type", "state_key"))
 CACHE_SIZE_FACTOR = float(os.environ.get("SYNAPSE_CACHE_FACTOR", 0.1))
 
 
-SIZE_OF_CACHE = int(10000 * CACHE_SIZE_FACTOR)
+SIZE_OF_CACHE = int(100000 * CACHE_SIZE_FACTOR)
 EVICTION_TIMEOUT_SECONDS = 60 * 60