summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-14 12:24:26 +0000
committerRichard van der Hoff <richard@matrix.org>2018-06-22 15:58:15 +0100
commit8f8ea91eefcc43c5ac24e85b14a86af4da53e6e0 (patch)
treed8efaf9a5e4226ad7f3f8cefc762d5115be23af0
parentPrefill client_ip_last_seen in replication (diff)
downloadsynapse-8f8ea91eefcc43c5ac24e85b14a86af4da53e6e0.tar.xz
Bump LAST_SEEN_GRANULARITY in client_ips
-rw-r--r--synapse/storage/client_ips.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/client_ips.py b/synapse/storage/client_ips.py

index 968d2fed22..30d3541cf7 100644 --- a/synapse/storage/client_ips.py +++ b/synapse/storage/client_ips.py
@@ -30,7 +30,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):