diff options
author | Erik Johnston <erik@matrix.org> | 2018-02-14 12:24:26 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-02-15 09:51:09 +0000 |
commit | 8f25cd662705116c6a7b703ed102283b5ae6ad32 (patch) | |
tree | deb416d45655de03fdb03193d40c3976c8c7ae04 | |
parent | Prefill client_ip_last_seen in replication (diff) | |
download | synapse-8f25cd662705116c6a7b703ed102283b5ae6ad32.tar.xz |
Bump LAST_SEEN_GRANULARITY in client_ips
-rw-r--r-- | synapse/storage/client_ips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py index a03d1d6104..fba3ecc09c 100644 --- a/synapse/storage/client_ips.py +++ b/synapse/storage/client_ips.py @@ -28,7 +28,7 @@ logger = logging.getLogger(__name__) # Number of msec of granularity to store the user IP 'last seen' time. Smaller # times give more inserts into the database even for readonly API hits # 120 seconds == 2 minutes -LAST_SEEN_GRANULARITY = 120 * 1000 +LAST_SEEN_GRANULARITY = 10 * 60 * 1000 class ClientIpStore(background_updates.BackgroundUpdateStore): |