summary refs log tree commit diff
path: root/tests/handlers/test_appservice.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-06-17 15:04:26 +0100
committerGitHub <noreply@github.com>2021-06-17 15:04:26 +0100
commit6f1a28de195445352bb1ffcc5d0a90581a348400 (patch)
tree87d617ffc351360809766b1990b909a33c6bd8f1 /tests/handlers/test_appservice.py
parentAdd fields to better debug where events are being soft_failed (#10168) (diff)
downloadsynapse-6f1a28de195445352bb1ffcc5d0a90581a348400.tar.xz
Fix incorrect time magnitude on delayed call (#10195)
Fixes https://github.com/matrix-org/synapse/issues/10030.

We were expecting milliseconds where we should have provided a value in seconds.

The impact of this bug isn't too bad. The code is intended to count the number of remote servers that the homeserver can see and report that as a metric. This metric is supposed to run initially 1 second after server startup, and every 60s as well. Instead, it ran 1,000 seconds after server startup, and every 60s after startup.

This fix allows for the correct metrics to be collected immediately, as well as preventing a random collection 1,000s in the future after startup.
Diffstat (limited to 'tests/handlers/test_appservice.py')
0 files changed, 0 insertions, 0 deletions