diff options
author | Matrix <matrix@matrix.org> | 2015-07-18 19:07:33 +0100 |
---|---|---|
committer | Matrix <matrix@matrix.org> | 2015-07-18 19:07:33 +0100 |
commit | 4f973eb6577ba125da6faa7f307b357afe1b7f84 (patch) | |
tree | ac04bde7e231a79bc60fdd92f0999083718a6a96 /synapse/storage/receipts.py | |
parent | Don't do any database hits in receipt handling if from_key == to_key (diff) | |
download | synapse-4f973eb6577ba125da6faa7f307b357afe1b7f84.tar.xz |
Up default cache size for _RoomStreamChangeCache
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/receipts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py index d515a0a15c..7a6af98d98 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() |