Skip to content

Commit

Permalink
deply ecomworker from 2u/main (#19)
Browse files Browse the repository at this point in the history
* fix: update ansible to let ecomworker deploy from 2u/main

* fix: revert queue arg for ecomworker celery
  • Loading branch information
christopappas authored May 24, 2024
1 parent dbb9b04 commit a6c4660
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playbooks/roles/ecomworker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#

ECOMMERCE_WORKER_GIT_IDENTITY: !!null
ECOMMERCE_WORKER_VERSION: 'master'
ECOMMERCE_WORKER_VERSION: '2u/main'
ECOMMERCE_WORKER_USE_PYTHON38: true

ECOMMERCE_WORKER_REPOS:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ export DD_TRACE_LOG_STREAM_HANDLER=false

source {{ ecommerce_worker_home }}/{{ ecommerce_worker_service_name }}_env
# We exec so that celery is the child of supervisor and can be managed properly
exec {{ executable }} -A ecommerce_worker.celery_app:app worker --concurrency={{ ECOMMERCE_WORKER_CONCURRENCY }} --loglevel=info --hostname=ecomworker.%%h --queues=ecommerce.fulfillment,ecommerce.email_marketing,ecommerce.default
exec {{ executable }} -A ecommerce_worker.celery_app:app worker --concurrency={{ ECOMMERCE_WORKER_CONCURRENCY }} --loglevel=info --hostname=ecomworker.%%h --queue=ecommerce.fulfillment,ecommerce.email_marketing,ecommerce.default

0 comments on commit a6c4660

Please sign in to comment.