synapse-old/synapse/util
Mathieu Velten f0a860908b
Allow config of the backoff algorithm for the federation client. (#15754)
Adds three new configuration variables:

* destination_min_retry_interval is identical to before (10mn).
* destination_retry_multiplier is now 2 instead of 5, the maximum value will
  be reached slower.
* destination_max_retry_interval is one day instead of (essentially) infinity.

Capping this will cause destinations to continue to be retried sometimes instead
of being lost forever. The previous value was 2 ^ 62 milliseconds.
2023-08-03 14:36:55 -04:00
..
caches Add metrics tracking for eviction to ResponseCache (#16028) 2023-08-01 08:10:49 -04:00
__init__.py Document `looping_call()` functionality that will wait for the given function to finish before scheduling another (#15772) 2023-06-13 16:34:54 -05:00
async_helpers.py Add stricter mypy options (#15694) 2023-05-31 07:18:29 -04:00
batching_queue.py Add types to synapse.util. (#10601) 2021-09-10 17:03:18 +01:00
cancellation.py Generalise the `@cancellable` annotation so it can be used on functions other than just servlet methods. (#13662) 2022-08-31 11:16:05 +00:00
check_dependencies.py Remove support for Python 3.7 (#15851) 2023-07-05 18:45:42 -05:00
daemonize.py Upgrade mypy to version 0.931 (#12030) 2022-02-18 15:57:26 +00:00
distributor.py Use `ParamSpec` in a few places (#12667) 2022-05-09 10:27:39 +00:00
file_consumer.py Add missing type hints to `synapse.logging.context` (#11556) 2021-12-14 17:35:28 +00:00
frozenutils.py Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
gai_resolver.py Add most missing type hints to synapse.util (#11328) 2021-11-16 08:47:36 -05:00
hash.py Add missing type hints to synapse.util (#9982) 2021-05-24 15:32:01 -04:00
httpresourcetree.py Respond with proper error responses on unknown paths. (#14621) 2022-12-08 11:37:05 -05:00
iterutils.py Process previously failed backfill events in the background (#15585) 2023-05-24 23:22:24 -05:00
linked_list.py Eliminate a few `Any`s in `LruCache` type hints (#11453) 2021-11-30 15:39:07 +00:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
macaroons.py Support RFC7636 PKCE in the OAuth 2.0 flow. (#14750) 2023-01-04 14:58:08 -05:00
manhole.py Add missing type hints to `synapse.app`. (#11287) 2021-11-10 15:06:54 -05:00
metrics.py Fix a memory leak when running the unit tests. (#13798) 2022-09-14 15:29:05 +00:00
module_loader.py Re-type config paths in `ConfigError`s to be `StrSequence`s (#15615) 2023-05-18 11:11:30 +01:00
msisdn.py Clean up and clarify "Create or modify Account" Admin API documentation (#15544) 2023-05-05 15:51:46 +01:00
patch_inline_callbacks.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
ratelimitutils.py Fix `HomeServer`s leaking during `trial` test runs (#15630) 2023-05-19 11:17:12 +01:00
retryutils.py Allow config of the backoff algorithm for the federation client. (#15754) 2023-08-03 14:36:55 -04:00
rlimit.py Add types to synapse.util. (#10601) 2021-09-10 17:03:18 +01:00
rust.py Check if Rust lib needs rebuilding. (#13759) 2022-09-12 10:03:42 +00:00
stringutils.py Making parse_server_name more consistent (#14007) 2022-10-11 12:42:11 +00:00
templates.py Implement a Jinja2 filter to extract localparts from email addresses (#12212) 2022-03-11 15:15:11 +00:00
threepids.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00
wheel_timer.py Remove redundant types from comments. (#14412) 2022-11-16 15:25:24 +00:00