Skip to content

Commit

Permalink
Fix env file location
Browse files Browse the repository at this point in the history
Celery did not come up
  • Loading branch information
webjunkie committed Jan 17, 2024
1 parent a7d7721 commit 09c24cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/docker-worker-celery
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ FLAGS+=("-n node@%h")
[[ -n "${WEB_CONCURRENCY}" ]] && FLAGS+=" --concurrency $WEB_CONCURRENCY"

if [[ -z "${CELERY_WORKER_QUEUES}" ]]; then
source celery-queues.env
source ./bin/celery-queues.env
fi

echo
Expand Down
2 changes: 1 addition & 1 deletion bin/start-worker
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
# this kills all processes when the last one terminates
trap 'kill $(jobs -p)' EXIT

source celery-queues.env
source ./bin/celery-queues.env

# start celery worker with heartbeat (-B)
SKIP_ASYNC_MIGRATIONS_SETUP=0 celery -A posthog worker -B --scheduler redbeat.RedBeatScheduler --without-heartbeat --without-gossip --without-mingle -Ofair -n node@%h &
Expand Down

0 comments on commit 09c24cc

Please sign in to comment.