celery错误:DatabaseWrapper objects created in a thread can only

zhfang

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
阅读 950
4 声望
1 粉丝
0 条评论
你知道吗?

4 声望
1 粉丝
文章目录
宣传栏