summary refs log tree commit diff
path: root/synapse/replication/http
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/replication/http
parentRemove unused `auth_event_ids` argument plumbing (#12304) (diff)
downloadsynapse-a2b00a44865ff11810c5302e33c1c61ce21a030e.tar.xz
Bump `black` and `click` versions (#12320)
Diffstat (limited to 'synapse/replication/http')
-rw-r--r--synapse/replication/http/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/_base.py b/synapse/replication/http/_base.py
index f1abb98653..2bd244ed79 100644
--- a/synapse/replication/http/_base.py
+++ b/synapse/replication/http/_base.py
@@ -275,7 +275,7 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
                             if attempts > cls.RETRY_ON_CONNECT_ERROR_ATTEMPTS:
                                 raise
 
-                            delay = 2 ** attempts
+                            delay = 2**attempts
                             logger.warning(
                                 "%s request connection failed; retrying in %ds: %r",
                                 cls.NAME,