From 55c01499dd874d0e0c8c49bc36ad6921efd1d9d1 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Tue, 27 Mar 2018 15:58:50 -0400 Subject: [PATCH] Just use one gunicorn worker to save memory --- config/minecraft-chat.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/minecraft-chat.service b/config/minecraft-chat.service index 294890e..05155f0 100644 --- a/config/minecraft-chat.service +++ b/config/minecraft-chat.service @@ -7,7 +7,7 @@ User=thallada Group=www-data WorkingDirectory=/var/www/panic-shack/chat Environment="PATH=/home/thallada/.virtualenvs/minecraft-chat/bin" -ExecStart=/home/thallada/.virtualenvs/minecraft-chat/bin/gunicorn --workers 3 --bind unix:minecraft-chat.sock -m 007 server:app --log-file /srv/minecraft-panic-shack/gunicorn.log +ExecStart=/home/thallada/.virtualenvs/minecraft-chat/bin/gunicorn --workers 1 --bind unix:minecraft-chat.sock -m 007 server:app --log-file /srv/minecraft-panic-shack/gunicorn.log [Install] WantedBy=multi-user.target