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...python

把celery的啓動命令換成:app

celery -A yourapp.celery worker --loglevel=info --pool=solo
相關文章
相關標籤/搜索