summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-03-08 08:25:43 -0500
committerGitHub <noreply@github.com>2021-03-08 08:25:43 -0500
commit58114f8a17a5b52a9b90b89b3c7d9b595307c9a8 (patch)
tree8695c929c3a6f61934754defcedd66912bfc13fd /synapse/handlers
parentUpdate reverse proxy to add OpenBSD relayd example configuration. (#9508) (diff)
downloadsynapse-58114f8a17a5b52a9b90b89b3c7d9b595307c9a8.tar.xz
Create a SynapseReactor type which incorporates the necessary reactor interfaces. (#9528)
This helps fix some type hints when running with Twisted 21.2.0.
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/acme.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/acme.py b/synapse/handlers/acme.py
index 5ecb2da1ac..132be238dd 100644
--- a/synapse/handlers/acme.py
+++ b/synapse/handlers/acme.py
@@ -73,7 +73,9 @@ class AcmeHandler:
                 "Listening for ACME requests on %s:%i", host, self.hs.config.acme_port
             )
             try:
-                self.reactor.listenTCP(self.hs.config.acme_port, srv, interface=host)
+                self.reactor.listenTCP(
+                    self.hs.config.acme_port, srv, backlog=50, interface=host
+                )
             except twisted.internet.error.CannotListenError as e:
                 check_bind_error(e, host, bind_addresses)