mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 17:10:06 +00:00
Increase client_ip cache size
This commit is contained in:
parent
6631985990
commit
dcabef952c
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ class ClientIpStore(background_updates.BackgroundUpdateStore):
|
||||||
self.client_ip_last_seen = Cache(
|
self.client_ip_last_seen = Cache(
|
||||||
name="client_ip_last_seen",
|
name="client_ip_last_seen",
|
||||||
keylen=4,
|
keylen=4,
|
||||||
|
max_entries=5000,
|
||||||
)
|
)
|
||||||
|
|
||||||
super(ClientIpStore, self).__init__(hs)
|
super(ClientIpStore, self).__init__(hs)
|
||||||
|
|
Loading…
Reference in a new issue