diff options
Diffstat (limited to 'install/celeryd.default.template')
-rw-r--r-- | install/celeryd.default.template | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/celeryd.default.template b/install/celeryd.default.template index 4220b6c35..39c97b902 100644 --- a/install/celeryd.default.template +++ b/install/celeryd.default.template @@ -2,6 +2,9 @@ CELERYD_NODES="#APP_NAME#w1" #CELERYD_NODES="#APP_NAME#w1 #APP_NAME#w2" # 2 workers +# Number of processes by worker +CELERY_PROCESS_NUMBER=2 + # The name of the Celery App, should be the same as the python file # where the Celery tasks are defined CELERY_APP="#APP_NAME#" @@ -14,4 +17,7 @@ CELERYD_PID_FILE="/var/run/celery/#APP_NAME#%n.pid" CELERYD_LOG_LEVEL=INFO # Path to celery binary, that is in your virtual environment -CELERY_BIN=/usr/local/bin/celery
\ No newline at end of file +CELERY_BIN=/usr/local/bin/celery + +# to debug the service it could be necessary to uncomment the following line +# C_FAKEFORK=1 |