使用django celery 异步任务报错: KeyError: 'struction.tasks.transform_video_format'
我在django项目中使用的celery来执行耗时任务,启动celery时使用supervisor来管理
使用supervisor的方法
(1) 安装 supervisor
pip install supervisor
(2)
在项目目录下执行命令
echo_supervisord_conf > supervisord.conf
生成配置文件,然后将下面的配置信息加入
[program:...
原创
2020-04-08 18:58:58 ·
711 阅读 ·
0 评论