diff options
author | Erik Johnston <erik@matrix.org> | 2017-05-08 15:09:19 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-05-08 15:09:19 +0100 |
commit | dcabef952c0c75ec756a364fc225a72eea391e1b (patch) | |
tree | e29d663ae1bee9a049a9d0aa3d05a03e1d447eb0 | |
parent | Merge pull request #2200 from matrix-org/erikj/revert_push (diff) | |
download | synapse-dcabef952c0c75ec756a364fc225a72eea391e1b.tar.xz |
Increase client_ip cache size
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/client_ips.py | 1 |
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) |