forked from reimandlab/ActiveDriverDB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2df65cf
commit 4a6e0ed
Showing
3 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#CELERYD_LOG_LEVEL="DEBUG" | ||
|
||
# Increase if needed | ||
CELERYD_NODES=1 | ||
|
||
# Please modify following line to use absolute path to celery executable | ||
CELERY_BIN="~/virtual_environment/bin/celery" | ||
|
||
# App instance to use | ||
CELERY_APP="celery_worker.celery" | ||
|
||
# Please modify following line to use absolute path to website directory | ||
CELERYD_CHDIR="~/ActiveDriverDB/website" | ||
|
||
# Extra command-line arguments to the worker | ||
CELERYD_OPTS="--time-limit=5000 --concurrency=8" | ||
|
||
# %n will be replaced with the first part of the node name | ||
CELERYD_LOG_FILE="/var/log/celery/%n%I.log" | ||
CELERYD_PID_FILE="/var/run/celery/%n.pid" | ||
|
||
# Workers should run as an unprivileged user | ||
CELERYD_USER="celery" | ||
CELERYD_GROUP="celery" | ||
|
||
# If enabled pid and log directories will be created if missing | ||
CELERY_CREATE_DIRS=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters