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

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jan 22, 2019
1 parent 56e7a47 commit ead9331
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions synapse/storage/client_ips.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ def get_last_seen(txn):
else:
last = False

logger.info(
"Scanning for duplicate 'user_ips' rows in range: %s <= last_seen < %s",
begin_last_seen, end_last_seen,
)

def remove(txn, begin_last_seen, end_last_seen):
# This works by looking at all entries in the given time span, and
# then for each (user_id, access_token, ip) tuple in that range
Expand Down

0 comments on commit ead9331

Please sign in to comment.