mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:14:52 -04:00
actually reset retry schedule if we can successfuly talk to it
This commit is contained in:
parent
5cd43d4b9f
commit
9c43b258ec
2 changed files with 9 additions and 0 deletions
|
@ -864,6 +864,9 @@ class _TransactionQueue(object):
|
|||
|
||||
for deferred in deferreds:
|
||||
if code == 200:
|
||||
if retry_last_ts:
|
||||
# this host is alive! reset retry schedule
|
||||
self.store.set_destination_retry_timings(destination, 0, 0)
|
||||
deferred.callback(None)
|
||||
else:
|
||||
self.start_retrying(destination, retry_interval)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue