Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Bump LAST_SEEN_GRANULARITY in client_ips
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston authored and richvdh committed Jun 22, 2018
1 parent 7a1406d commit 8f8ea91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/client_ips.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
# 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):
Expand Down

0 comments on commit 8f8ea91

Please sign in to comment.