mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 20:10:19 +08:00
10 lines
195 B
Python
10 lines
195 B
Python
# -*- coding:utf-8 -*-
|
|
|
|
from api.app import create_app
|
|
from api.extensions import celery
|
|
|
|
# celery -A celery_worker.celery worker -l DEBUG -E -Q xxxx
|
|
|
|
app = create_app()
|
|
app.app_context().push()
|