mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 17:46:06 -04: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…
Add table
Add a link
Reference in a new issue