anonymousland-synapse/synapse
Andrew Morgan 6f1a28de19
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.
2021-06-17 15:04:26 +01:00
..
_scripts Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
api Make opentracing trace into event persistence (#10134) 2021-06-16 11:41:15 +01:00
app Clean up a broken import in admin_cmd.py (#10154) 2021-06-11 11:34:40 +01:00
appservice Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
config Always require users to re-authenticate for dangerous operations. (#10184) 2021-06-16 11:07:28 -04:00
crypto When joining a remote room limit the number of events we concurrently check signatures/hashes for (#10117) 2021-06-08 11:07:46 +01:00
events Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
federation Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 2021-06-15 07:45:14 -04:00
groups Rewrite the KeyRing (#10035) 2021-06-02 16:37:59 +01:00
handlers Add fields to better debug where events are being soft_failed (#10168) 2021-06-17 14:59:45 +01:00
http Fix 'ip_range_whitelist' not working for federation servers (#10115) 2021-06-15 08:53:55 +01:00
logging Improve comments in the structured logging code. (#10188) 2021-06-16 19:18:02 +01:00
metrics opentracing: use a consistent name for background processes (#10135) 2021-06-07 17:57:49 +01:00
module_api Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
push Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
replication Extend ResponseCache to pass a context object into the callback (#10157) 2021-06-14 10:26:09 +01:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Always require users to re-authenticate for dangerous operations. (#10184) 2021-06-16 11:07:28 -04:00
server_notices Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use get_current_users_in_room from store and not StateHandler (#9910) 2021-05-05 16:49:34 +01:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Fix incorrect time magnitude on delayed call (#10195) 2021-06-17 15:04:26 +01:00
streams Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
util Add debug logging when we enter/exit Measure block (#10183) 2021-06-16 13:29:54 +01:00
__init__.py 1.36.0 2021-06-15 15:42:02 +01:00
event_auth.py Implement knock feature (#6739) 2021-06-09 19:39:51 +01:00
notifier.py Improve opentracing annotations for Notifier (#10111) 2021-06-03 16:01:30 +01:00
python_dependencies.py Use ijson to parse the response to /send_join, reducing memory usage. (#9958) 2021-05-20 16:11:48 +01:00
server.py Split multiplart email sending into a dedicated handler (#9977) 2021-05-17 12:33:38 +02:00
types.py Make DomainSpecificString an attrs class (#9875) 2021-04-23 15:46:29 +01:00
visibility.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00