mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 05:23:51 +01:00
Temporarily add a run_on_reactor() call
This commit is contained in:
parent
7e9d59f3b4
commit
b17bd31da0
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,8 @@ from twisted.internet import defer
|
|||
|
||||
from synapse.api.errors import CodeMessageException
|
||||
|
||||
from synapse.util.async import run_on_reactor
|
||||
|
||||
import logging
|
||||
|
||||
|
||||
|
@ -52,6 +54,7 @@ def get_retry_limiter(destination, clock, store, **kwargs):
|
|||
# We aren't ready to retry that destination.
|
||||
raise
|
||||
"""
|
||||
yield run_on_reactor()
|
||||
retry_last_ts, retry_interval = (0, 0)
|
||||
|
||||
retry_timings = yield store.get_destination_retry_timings(
|
||||
|
|
Loading…
Reference in a new issue