mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
This reverts commit 444568a06e
.
This commit is contained in:
parent
6fc64efafa
commit
ecf0679c98
@ -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
|
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user