Answer the question
In order to leave comments, you need to log in
How to deal with the periodic "falling off" Celery?
Hello colleagues.
I use celery in conjunction with Django. Here is the service config:
[Unit]
Description=celery daemon
After=network.target
[Service]
User=reviews
Group=reviews
WorkingDirectory=/opt/xxx/web/
Environment="PATH=/opt/xxx/bin"
ExecStart=/opt/xxx/bin/celery worker -A AppReviews
[Install]
WantedBy=multi-user.target
CELERY_BROKER_URL = 'redis://:[email protected]/0'
CELERY_RESULT_BACKEND = 'redis://:[email protected]/1'
CELERY_TASK_SERIALIZER = 'json'
CELERY_ACCEPT_CONTENT = ['json']
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question