PS:设置完异步任务后,如果出现文件名与依赖包冲突,那一定是你直接运行文件了,最好是在接口里面执行异步任务规避掉这个问题 s1.py(配置任务文件) from celery import Celery import time my_task = Celery("tasks", broker="red Read More
posted @ 2020-01-03 13:50 PythonNew_Mr.Wang Views(6693) Comments(2) Diggs(0)