Celery—基本使用(2)

Celery配置文件 1、目录结构 2、模块代码 1.__init__.pypython from celery import Celery app = Celery('demo') # 经过celery实例加载配置模块 app.config_from_object('celery_app.celeryconfig') 2.celeryconfig.pyredis # -*- coding:ut
相关文章
相关标签/搜索