mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 04:58:33 +03:00
introduces low/high priority queue and custom concurrency
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
|
||||
|
||||
worker:
|
||||
command: watchmedo auto-restart --patterns="*.py" --recursive --ignore-directories -- celery -- --app=app.worker.main.celery worker --loglevel=debug --logfile=/aa-api/logs/celery.log
|
||||
command: watchmedo auto-restart --patterns="*.py" --recursive --ignore-directories -- celery -- --app=app.worker.main.celery worker --loglevel=debug --logfile=/aa-api/logs/celery.log -Q high_priority,low_priority --concurrency=$CONCURRENCY
|
||||
restart: "no"
|
||||
env_file: .env.dev
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user