Broke the periodic queue out from the standard worker.

- now has own worker with worker count of 2
- this is too ensure that any issues with scheduled jobs do not affect core applications
This commit is contained in:
Martyn Inglis
2017-04-04 11:23:54 +01:00
parent 0ac3bfcb81
commit 787d0da7db
2 changed files with 12 additions and 6 deletions

View File

@@ -35,6 +35,11 @@ applications:
env:
NOTIFY_APP_NAME: delivery-worker-sender
- name: notify-delivery-worker-periodic
command: scripts/run_app_paas.sh celery -A aws_run_celery.notify_celery worker --loglevel=INFO --concurrency=2 -Q periodic
env:
NOTIFY_APP_NAME: delivery-worker
- name: notify-delivery-worker
command: scripts/run_app_paas.sh celery -A aws_run_celery.notify_celery worker --loglevel=INFO --concurrency=11
env: