Run async work in ThreadPoolExecutor on Django Startup

前端 未结 0 1490
梦谈多话
梦谈多话 2020-12-29 11:13

I have a global object which works perfectly in views:

class TaskQueue(object):
    executor: ThreadPoolExecutor = None         


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