summary refs log tree commit diff
path: root/synapse/appservice/scheduler.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-29 11:41:19 +0100
committerGitHub <noreply@github.com>2022-03-29 10:41:19 +0000
commita2b00a44865ff11810c5302e33c1c61ce21a030e (patch)
treed16f0f5378588b3fb2c4584b00f271219255e2c1 /synapse/appservice/scheduler.py
parentRemove unused `auth_event_ids` argument plumbing (#12304) (diff)
downloadsynapse-a2b00a44865ff11810c5302e33c1c61ce21a030e.tar.xz
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/appservice/scheduler.py')
-rw-r--r--synapse/appservice/scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/scheduler.py b/synapse/appservice/scheduler.py
index 72417151ba..a6084b9c35 100644
--- a/synapse/appservice/scheduler.py
+++ b/synapse/appservice/scheduler.py
@@ -428,7 +428,7 @@ class _Recoverer:
                 "as-recoverer-%s" % (self.service.id,), self.retry
             )
 
-        delay = 2 ** self.backoff_counter
+        delay = 2**self.backoff_counter
         logger.info("Scheduling retries on %s in %fs", self.service.id, delay)
         self.clock.call_later(delay, _retry)