首页 > Web开发 > 详细

celery之 启动worker报错 NoneType has not attribute "on_soft_timeout"

时间:2020-04-29 13:17:22      阅读:67      评论:0      收藏:0      [点我收藏+]

环境  : linux + django+ celery +redis 

原启动命令 :  celery worker -A celery_tasks -l info 

报错 NoneType has not  attribute "on_soft_timeout"

再windows下能正常启动

启动命令加上参数  : celery  worker -A celery_tasks -l info -p eventlet     

启动成功   

原因分析 : celery 默认-p  prefork(多进程)  出错    

 

celery之 启动worker报错 NoneType has not attribute "on_soft_timeout"

原文:https://www.cnblogs.com/jinri-wuhua/p/12801254.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!