mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-17 17:19:12 -04:00
More docs
This commit is contained in:
parent
d77912ff44
commit
4fd176a41d
1 changed files with 5 additions and 1 deletions
|
@ -87,7 +87,11 @@ class RetryDestinationLimiter(object):
|
||||||
def __init__(self, destination, clock, store, retry_interval,
|
def __init__(self, destination, clock, store, retry_interval,
|
||||||
min_retry_interval=5000, max_retry_interval=60 * 60 * 1000,
|
min_retry_interval=5000, max_retry_interval=60 * 60 * 1000,
|
||||||
multiplier_retry_interval=2,):
|
multiplier_retry_interval=2,):
|
||||||
"""
|
"""Marks the destination as "down" if an exception is thrown in the
|
||||||
|
context, except for CodeMessageException with code < 500.
|
||||||
|
|
||||||
|
If no exception is raised, marks the destination as "up".
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
destination (str)
|
destination (str)
|
||||||
clock (Clock)
|
clock (Clock)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue