perf(api): ci delete (#297)

This commit is contained in:
pycook
2023-12-12 11:09:32 +08:00
committed by GitHub
parent beb2f01ec9
commit 64f891df31
3 changed files with 6 additions and 5 deletions

View File

@@ -48,9 +48,9 @@ services:
/wait
flask db-setup
flask common-check-new-columns
gunicorn --workers=3 autoapp:app -b 0.0.0.0:5000 -D
gunicorn --workers=8 autoapp:app -b 0.0.0.0:5000 -D
celery -A celery_worker.celery worker -E -Q one_cmdb_async --autoscale=5,2 --logfile=one_cmdb_async.log -D
celery -A celery_worker.celery worker -E -Q one_cmdb_async --autoscale=8,2 --logfile=one_cmdb_async.log -D
celery -A celery_worker.celery worker -E -Q acl_async --logfile=one_acl_async.log --concurrency=2 -D
nohup flask cmdb-trigger > trigger.log 2>&1 &