diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-06-06 16:05:28 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-06-06 16:05:28 +0100 |
commit | 5ef84da4f11f1b1cceb0c44d9867bb597ee68e64 (patch) | |
tree | 33a9fe75c45a412d0bff15495ddd911b201335d8 /synapse/app/pusher.py | |
parent | Merge pull request #841 from matrix-org/erikj/event_counter (diff) | |
download | synapse-5ef84da4f11f1b1cceb0c44d9867bb597ee68e64.tar.xz |
Yield on the sleeps intended to backoff replication
Diffstat (limited to 'synapse/app/pusher.py')
-rw-r--r-- | synapse/app/pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/pusher.py b/synapse/app/pusher.py index f1de1e7ce9..3c3fa38053 100644 --- a/synapse/app/pusher.py +++ b/synapse/app/pusher.py @@ -311,7 +311,7 @@ class PusherServer(HomeServer): poke_pushers(result) except: logger.exception("Error replicating from %r", replication_url) - sleep(30) + yield sleep(30) def setup(config_options): |