Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
domdinicola committed Dec 23, 2024
1 parent 1277492 commit 0dd8a3a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ case "$1" in
;;
worker)
set -- tini -- "$@"
set -- gosu user:app celery -A hope_payment_gateway.config.celery worker -E --loglevel=ERROR --concurrency=4
set -- gosu hope:unicef celery -A hope_payment_gateway.config.celery worker -E --loglevel=ERROR --concurrency=4
;;
beat)
set -- tini -- "$@"
set -- gosu user:app celery -A hope_payment_gateway.config.celery beat --loglevel=ERROR --scheduler django_celery_beat.schedulers:DatabaseScheduler
set -- gosu hope:unicef celery -A hope_payment_gateway.config.celery beat --loglevel=ERROR --scheduler django_celery_beat.schedulers:DatabaseScheduler
;;
flower)
export DATABASE_URL="sqlite://:memory:"
set -- tini -- "$@"
set -- gosu user:app celery -A hope_payment_gateway.config.celery flower
set -- gosu hope:unicef celery -A hope_payment_gateway.config.celery flower
;;
esac

Expand Down
2 changes: 1 addition & 1 deletion src/hope_payment_gateway/apps/fsp/moneygram/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
PaymentRecord,
PaymentRecordState,
)
from hope_payment_gateway.celery import app
from hope_payment_gateway.config.celery import app


@app.task() # queue="executors"
Expand Down
2 changes: 1 addition & 1 deletion src/hope_payment_gateway/apps/fsp/western_union/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
PaymentRecord,
PaymentRecordState,
)
from hope_payment_gateway.celery import app
from hope_payment_gateway.config.celery import app


@app.task() # queue="executors"
Expand Down
File renamed without changes.

0 comments on commit 0dd8a3a

Please sign in to comment.