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
committerSean Quah <seanq@element.io>2022-04-05 11:04:28 +0100
commita7293ef16fb3ca9f1234877f1496b30cdeeb01cd (patch)
tree6465ceb2ca58f9798fbfd18fc9341000aca9d6a1 /synapse/appservice/scheduler.py
parentAdd note in changelog of non-C type locale causing Synapse to refuse to start... (diff)
downloadsynapse-a7293ef16fb3ca9f1234877f1496b30cdeeb01cd.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)