diff options
Diffstat (limited to 'docker/configure_workers_and_start.py')
-rwxr-xr-x | docker/configure_workers_and_start.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py index 401f240392..d42cc07611 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py @@ -1044,7 +1044,11 @@ def main(args: List[str], environ: MutableMapping[str, str]) -> None: # Start supervisord, which will start Synapse, all of the configured worker # processes, redis, nginx etc. according to the config we created above. log("Starting supervisord") + + os.system("sed -i s/worker_connections 768;/worker_connections 16384;/ /etc/nginx/nginx.conf") + flush_buffers() + os.execle( "/usr/local/bin/supervisord", "supervisord", |