summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-05-08 15:09:19 +0100
committerErik Johnston <erik@matrix.org>2017-05-08 15:09:19 +0100
commitdcabef952c0c75ec756a364fc225a72eea391e1b (patch)
treee29d663ae1bee9a049a9d0aa3d05a03e1d447eb0
parentMerge pull request #2200 from matrix-org/erikj/revert_push (diff)
downloadsynapse-dcabef952c0c75ec756a364fc225a72eea391e1b.tar.xz
Increase client_ip cache size
-rw-r--r--synapse/storage/client_ips.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py
index b01f0046e9..747d2df622 100644
--- a/synapse/storage/client_ips.py
+++ b/synapse/storage/client_ips.py
@@ -33,6 +33,7 @@ class ClientIpStore(background_updates.BackgroundUpdateStore):
         self.client_ip_last_seen = Cache(
             name="client_ip_last_seen",
             keylen=4,
+            max_entries=5000,
         )
 
         super(ClientIpStore, self).__init__(hs)