mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 19:13:31 +00:00
We need more worker_connections!!!
This commit is contained in:
parent
de402248a8
commit
7f4c254e2d
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue