Increase client_ip cache size

This commit is contained in:
Erik Johnston 2017-05-08 15:09:19 +01:00
parent 6631985990
commit dcabef952c

View file

@ -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)