Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove the cap on federation retry interval. #6026

Merged
merged 1 commit into from
Sep 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/6026.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Stop sending federation transactions to servers which have been down for a long time.
4 changes: 2 additions & 2 deletions synapse/util/retryutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
# how much we multiply the backoff by after each subsequent fail
RETRY_MULTIPLIER = 5

# a cap on the backoff
MAX_RETRY_INTERVAL = 24 * 60 * 60 * 1000
# a cap on the backoff. (Essentially none)
MAX_RETRY_INTERVAL = 2 ** 63


class NotRetryingDestination(Exception):
Expand Down