Skip to content

Commit

Permalink
Merge pull request #634 from maykinmedia/feature/simplify-celery-script
Browse files Browse the repository at this point in the history
🔥 [maykinmedia/charts#165] Remove unused command line args
  • Loading branch information
SilviaAmAm authored Jan 22, 2025
2 parents b2814d7 + 6e4da10 commit 7163c80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/bin/celery_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -e
LOGLEVEL=${CELERY_LOGLEVEL:-INFO}
CONCURRENCY=${CELERY_WORKER_CONCURRENCY:-1}

QUEUE=${1:-${CELERY_WORKER_QUEUE:=celery}}
WORKER_NAME=${2:-${CELERY_WORKER_NAME:="${QUEUE}"@%n}}
QUEUE=${CELERY_WORKER_QUEUE:=celery}
WORKER_NAME=${CELERY_WORKER_NAME:="${QUEUE}"@%n}

echo "Starting celery worker $WORKER_NAME with queue $QUEUE"
exec celery --workdir src --app openarchiefbeheer.celery worker \
Expand Down

0 comments on commit 7163c80

Please sign in to comment.