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

Commit

Permalink
Make note of suspected minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Jul 5, 2021
1 parent 10671da commit 071037c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synapse/storage/databases/main/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def _count_r30_users(txn):

for row in txn:
if row[0] == "unknown":
# XXX this is a sneaky no-op; suspect `continue` was meant.
pass
results[row[0]] = row[1]

Expand Down

0 comments on commit 071037c

Please sign in to comment.