How to call current_app attribute in separate threads

前端 未结 0 1575
庸人自扰
庸人自扰 2020-12-30 17:43

I want to spawn multiple threads to speed up an i/o bound task. (celery.AsyncResult....) I\'m gettin the error RuntimeError: Working outside of application context.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题