-
Notifications
You must be signed in to change notification settings - Fork 17
/
celery_config
23 lines (16 loc) · 723 Bytes
/
celery_config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CELERYD_NODES="w1"
# Extra arguments to celeryd
CELERYD_OPTS="--time-limit=172800 --concurrency=8"
# %n will be replaced with the nodename.
CELERYD_LOG_FILE="/var/log/celery/%n%I.log"
CELERYD_PID_FILE="/run/celery/%n.pid"
CELERYD_LOG_LEVEL="INFO"
#CELERYD_LOG_LEVEL="DEBUG"
# Name of the projects settings module.
DJANGO_SETTINGS_MODULE="chemminetools.settings"
CELERY_BIN="/srv/venvs/chemminetools/bin/celery"
CELERY_APP="chemminetools"
#The default path when celery starts does not include /usr/local/bin/,
#which then causes R scripts using Rscript to fail when celery runs them.
#So we set the path explicitly here.
PATH=/srv/venvs/chemminetools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin