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

31次阅读

共计 181 个字符,预计需要花费 1 分钟才能阅读完成。

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

正文完
 0