Bump LAST_SEEN_GRANULARITY in client_ips

This commit is contained in:
Erik Johnston 2018-02-14 12:24:26 +00:00 committed by Richard van der Hoff
parent 7a1406d144
commit 8f8ea91eef

View file

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