2025-01-12转:CELERY CELERY_QUEUES和CELERY_ROUTS的用法转自:https://www.jianshu.com/p/4d0bbdbc6ade?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation1.介绍Celery非常容易设置,通常都是使用默认的queue来存放任务,写法如下:@app.taskdeftask1(x,y):for_inrange(10):