From 1458ded3f214ed2a03b75afeeb5856c5beff362a 2016-06-13 15:21:48 From: Marcin Lulek Date: 2016-06-13 15:21:48 Subject: [PATCH] ini: lower the amount of workers by default --- diff --git a/backend/src/appenlight/templates/ini/production.ini.jinja2 b/backend/src/appenlight/templates/ini/production.ini.jinja2 index 67800de..68320a8 100644 --- a/backend/src/appenlight/templates/ini/production.ini.jinja2 +++ b/backend/src/appenlight/templates/ini/production.ini.jinja2 @@ -98,7 +98,7 @@ appenlight.public_api_key = # celery celery.broker_type = redis celery.broker_url = redis://localhost:6379/3 -celery.concurrency = 8 +celery.concurrency = 2 celery.timezone = UTC [filter:paste_prefix] @@ -125,14 +125,14 @@ pipeline = paste_prefix [server:main] use = egg:gunicorn#main host = 0.0.0.0:6543, unix:/tmp/appenlight.sock -workers = 6 +workers = 2 timeout = 90 max_requests = 10000 [server:api] use = egg:gunicorn#main host = 0.0.0.0:6553, unix:/tmp/api.appenlight.sock -workers = 8 +workers = 2 max_requests = 10000