summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-07-05 15:55:31 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2021-07-05 15:55:31 +0100
commit071037c3a3c8a9ebfe51c8f9197ff3044ab8545f (patch)
tree103d4aecb240f75aa75634162049ffbd07a64c09
parentFix bad link in modules documentation (#10302) (diff)
downloadsynapse-071037c3a3c8a9ebfe51c8f9197ff3044ab8545f.tar.xz
Make note of suspected minor bug
-rw-r--r--synapse/storage/databases/main/metrics.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/metrics.py b/synapse/storage/databases/main/metrics.py
index c3f551d377..c65dd85d90 100644
--- a/synapse/storage/databases/main/metrics.py
+++ b/synapse/storage/databases/main/metrics.py
@@ -284,6 +284,7 @@ class ServerMetricsStore(EventPushActionsWorkerStore, SQLBaseStore):
 
             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]