Django芹菜任务工作很长时间

问题描述 投票:-1回答:1

我用芹菜,主管和花

主管conf:

command=/web/venv/bin/python manage.py celeryd -E -l info -c 2 --maxtasksperchild=1 -Ofair

directory=/web/
stdout_logfile=/web/log/
redirect_stderr=true
user=web
killasgroup=true
stopasgroup=true

从python shell启动时出现问题,任务工作非常快。如果来自芹菜,工作时间非常长。我不知道是什么问题。也许有人可以帮忙?

python django celery django-celery supervisor
1个回答
0
投票

您可以通过从管理员添加芹菜来实现相同目标,这可能是解决方案

http://www.yourhost.com/admin/djcelery/
© www.soinside.com 2019 - 2024. All rights reserved.