From ecf0679c986956dffbf5a3850c564f58ce674437 Mon Sep 17 00:00:00 2001 From: Yakko Majuri <38760734+yakkomajuri@users.noreply.github.com> Date: Tue, 30 Nov 2021 15:21:05 -0300 Subject: [PATCH] Revert "Add names to celery nodes (#7054 pt. 2) (#7433)" (#7449) This reverts commit 444568a06e23d72bf997d32992bc30227a66955f. --- bin/docker-worker-beat | 3 +-- bin/docker-worker-celery | 1 - bin/start-worker | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/docker-worker-beat b/bin/docker-worker-beat index ca0e63338a3..6b789b38fe8 100755 --- a/bin/docker-worker-beat +++ b/bin/docker-worker-beat @@ -1,6 +1,5 @@ #!/bin/bash set -e - rm celerybeat.pid || echo "celerybeat.pid not found, proceeding" -celery -A posthog beat -S redbeat.RedBeatScheduler -n node@%%h \ No newline at end of file +celery -A posthog beat -S redbeat.RedBeatScheduler \ No newline at end of file diff --git a/bin/docker-worker-celery b/bin/docker-worker-celery index ef63611f9b6..8bb32f33a67 100755 --- a/bin/docker-worker-celery +++ b/bin/docker-worker-celery @@ -65,7 +65,6 @@ fi FLAGS=() FLAGS+=("-Ofair") -FLAGS+=("-n node@%%h") [ "$with_gossip" == "false" ] && FLAGS+=("--without-gossip") [ "$with_mingle" == "false" ] && FLAGS+=("--without-mingle") [ "$with_heartbeat" == "false" ] && FLAGS+=("--without-heartbeat") diff --git a/bin/start-worker b/bin/start-worker index a79a96df7f3..5ae9cd8a73f 100755 --- a/bin/start-worker +++ b/bin/start-worker @@ -5,7 +5,7 @@ set -e trap 'kill $(jobs -p)' EXIT # start celery worker with heartbeat (-B) -celery -A posthog worker -B --scheduler redbeat.RedBeatScheduler --without-heartbeat --without-gossip --without-mingle -Ofair -n node@%%h & +celery -A posthog worker -B --scheduler redbeat.RedBeatScheduler --without-heartbeat --without-gossip --without-mingle -Ofair & # start celery plugin worker ./bin/plugin-server