Browse Source

Fix frontend_proxy jinja script in docker workers (#10783)

kegsay 2 years ago
parent
commit
01df612e1e
2 changed files with 2 additions and 1 deletions
  1. 1 0
      changelog.d/10783.bugfix
  2. 1 1
      docker/configure_workers_and_start.py

+ 1 - 0
changelog.d/10783.bugfix

@@ -0,0 +1 @@
+Fix a bug which generated invalid homeserver config when the `frontend_proxy` worker type was passed to the Synapse Worker-based Complement image.

+ 1 - 1
docker/configure_workers_and_start.py

@@ -162,7 +162,7 @@ WORKERS_CONFIG = {
         "shared_extra_conf": {},
         "worker_extra_conf": (
             "worker_main_http_uri: http://127.0.0.1:%d"
-            % (MAIN_PROCESS_HTTP_LISTENER_PORT,),
+            % (MAIN_PROCESS_HTTP_LISTENER_PORT,)
         ),
     },
 }