mirror of
https://github.com/element-hq/synapse
synced 2024-10-04 11:22:41 +00:00
Up default cache size for _RoomStreamChangeCache
This commit is contained in:
parent
4cab2cfa34
commit
4f973eb657
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ class _RoomStreamChangeCache(object):
|
||||||
may have changed since that key. If the key is too old then the cache
|
may have changed since that key. If the key is too old then the cache
|
||||||
will simply return all rooms.
|
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._size_of_cache = size_of_cache
|
||||||
self._room_to_key = {}
|
self._room_to_key = {}
|
||||||
self._cache = sorteddict()
|
self._cache = sorteddict()
|
||||||
|
|
Loading…
Reference in a new issue