From 2343643303323c34130f7f3f8da9ca50e3b465fc Mon Sep 17 00:00:00 2001
From: clokep
max_short_retries
: maximum number of retries for the short retry algo. Default to 3 attempts.max_long_retries
: maximum number of retries for the long retry algo. Default to 10 attempts.The following options control the retry logic when communicating with a specific homeserver destination. +Unlike the previous configuration options, these values apply across all requests +for a given destination and the state of the backoff is stored in the database.
+destination_min_retry_interval
: the initial backoff, after the first request fails. Defaults to 10m.destination_retry_multiplier
: how much we multiply the backoff by after each subsequent fail. Defaults to 2.destination_max_retry_interval
: a cap on the backoff. Defaults to a week.Example configuration:
federation:
client_timeout: 180s
@@ -1213,6 +1221,9 @@ like sending a federation transaction.
max_long_retry_delay: 100s
max_short_retries: 5
max_long_retries: 20
+ destination_min_retry_interval: 30s
+ destination_retry_multiplier: 5
+ destination_max_retry_interval: 12h