celery错误:DatabaseWrapper objects created in a thread can only
文章目录
celery错误:DatabaseWrapper objects created in a thread can only be used in that same thread
参考了:https://www.distributedpython...
把celery的启动命令换成:
celery -A yourapp.celery worker --loglevel=info --pool=solo
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论