0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 21:49:51 +01:00

Revert "Add names to celery nodes (#7054 pt. 2) (#7433)" (#7449)

This reverts commit 444568a06e.
This commit is contained in:
Yakko Majuri 2021-11-30 15:21:05 -03:00 committed by GitHub
parent 6fc64efafa
commit ecf0679c98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View File

@ -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
celery -A posthog beat -S redbeat.RedBeatScheduler

View File

@ -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")

View File

@ -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