From 44e2ed15e5a09f1f8b7a9b11fac08047e2976f62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Tue, 21 Apr 2020 18:05:45 +0200 Subject: [PATCH] Update celeryd config to set task max life to 48hrs --- ansible/celeryd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/celeryd b/ansible/celeryd index 1ce118ad..a610beb5 100644 --- a/ansible/celeryd +++ b/ansible/celeryd @@ -2,7 +2,7 @@ CELERYD_NODES="worker" CELERY_BIN="/usr/local/bin/celery" CELERY_APP="ippisite" CELERYD_CHDIR="/home/ippidb/ippidb-web-{{ http_port }}/ippisite" -CELERYD_OPTS="--time-limit=3000 --concurrency=1 --max-tasks-per-child=1" +CELERYD_OPTS="--time-limit=172800 --concurrency=1 --max-tasks-per-child=1" CELERYD_LOG_FILE="/var/ippidb-{{ http_port }}-celery/celery%n%I.log" CELERYD_PID_FILE="/var/ippidb-{{ http_port }}-celery/celery%n.pid" CELERYD_LOG_LEVEL="DEBUG" -- GitLab