mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
Yield on the sleeps intended to backoff replication
This commit is contained in:
parent
e4134c5e13
commit
5ef84da4f1
2 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ class SynchrotronServer(HomeServer):
|
|||
notify(result)
|
||||
except:
|
||||
logger.exception("Error replicating from %r", replication_url)
|
||||
sleep(5)
|
||||
yield sleep(5)
|
||||
|
||||
def build_presence_handler(self):
|
||||
return SynchrotronPresence(self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue