+ Telegram bot: sign up, sign in, notifications + Anonymous users can't see yuan_rate_commission * Only logged in customers can create/update orders * Customer info migrated to separate User model * Renamed legacy fields in serializers * Cleanup in API classes
28 lines
876 B
Plaintext
28 lines
876 B
Plaintext
# Name of nodes to start
|
|
# here we have a single node
|
|
CELERYD_NODES="w1"
|
|
# or we could have three nodes:
|
|
#CELERYD_NODES="w1 w2 w3"
|
|
|
|
# Absolute or relative path to the 'celery' command:
|
|
CELERY_BIN="/var/www/poizonstore-stage/env/bin/celery"
|
|
|
|
# App instance to use
|
|
CELERY_APP="poizonstore"
|
|
|
|
# How to call manage.py
|
|
CELERYD_MULTI="multi"
|
|
|
|
# Extra command-line arguments to the worker
|
|
CELERYD_OPTS=""
|
|
|
|
# - %n will be replaced with the first part of the nodename.
|
|
# - %I will be replaced with the current child process index
|
|
# and is important when using the prefork pool to avoid race conditions.
|
|
CELERYD_PID_FILE="/var/run/celery-stage/%n.pid"
|
|
CELERYD_LOG_FILE="/var/log/celery-stage/%n%I.log"
|
|
CELERYD_LOG_LEVEL="INFO"
|
|
|
|
# you may wish to add these options for Celery Beat
|
|
CELERYBEAT_PID_FILE="/var/run/celery-stage/beat.pid"
|
|
CELERYBEAT_LOG_FILE="/var/log/celery-stage/beat.log" |