From 4f973eb6577ba125da6faa7f307b357afe1b7f84 Mon Sep 17 00:00:00 2001 From: Matrix Date: Sat, 18 Jul 2015 19:07:33 +0100 Subject: [PATCH] Up default cache size for _RoomStreamChangeCache --- synapse/storage/receipts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py index d515a0a15..7a6af98d9 100644 --- a/synapse/storage/receipts.py +++ b/synapse/storage/receipts.py @@ -300,7 +300,7 @@ class _RoomStreamChangeCache(object): may have changed since that key. If the key is too old then the cache will simply return all rooms. """ - def __init__(self, size_of_cache=1000): + def __init__(self, size_of_cache=10000): self._size_of_cache = size_of_cache self._room_to_key = {} self._cache = sorteddict()