mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 03:25:53 +03:00
Call RetryLimiter correctly (#5340)
Fixes a regression introduced in #5335.
This commit is contained in:
parent
dae224a73f
commit
aa530e6800
2 changed files with 8 additions and 1 deletions
2
changelog.d/5340.bugfix
Normal file
2
changelog.d/5340.bugfix
Normal file
|
@ -0,0 +1,2 @@
|
|||
Fix a bug where we could rapidly mark a server as unreachable even though it was only down for a few minutes.
|
||||
|
|
@ -97,7 +97,12 @@ def get_retry_limiter(destination, clock, store, ignore_backoff=False, **kwargs)
|
|||
|
||||
defer.returnValue(
|
||||
RetryDestinationLimiter(
|
||||
destination, clock, store, retry_interval, backoff_on_failure, **kwargs
|
||||
destination,
|
||||
clock,
|
||||
store,
|
||||
retry_interval,
|
||||
backoff_on_failure=backoff_on_failure,
|
||||
**kwargs
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue