mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 22:17:37 +08:00
前后端全面升级
This commit is contained in:
@@ -3,8 +3,7 @@
|
||||
from api.app import create_app
|
||||
from api.extensions import celery
|
||||
|
||||
# celery worker -A celery_worker.celery -l DEBUG -E -Q <queue_name> --concurrency=1
|
||||
print(celery)
|
||||
# celery worker -A celery_worker.celery -l DEBUG -E -Q xxxx
|
||||
|
||||
app = create_app()
|
||||
app.app_context().push()
|
||||
|
Reference in New Issue
Block a user