From 09c24cc9b645930deede6e56d34f95a874bfcca4 Mon Sep 17 00:00:00 2001 From: Julian Bez Date: Wed, 17 Jan 2024 12:08:26 +0100 Subject: [PATCH] Fix env file location Celery did not come up --- bin/docker-worker-celery | 2 +- bin/start-worker | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/docker-worker-celery b/bin/docker-worker-celery index a926df5f33c20..4c1ff24c1c3ba 100755 --- a/bin/docker-worker-celery +++ b/bin/docker-worker-celery @@ -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 diff --git a/bin/start-worker b/bin/start-worker index 48fa9f0d536f5..7fba86d7e4764 100755 --- a/bin/start-worker +++ b/bin/start-worker @@ -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 &