Skip to content

Commit 6c13403

Browse files
wrn14897dhable
andauthored
fix: use '--kill-others-on-fail' to prevent processes from terminating when RUN_SCHEDULED_TASKS_EXTERNALLY is enabled (#1015)
Ref: HDX-2044 Co-authored-by: Dan Hable <418679+dhable@users.noreply.github.com>
1 parent bb37520 commit 6c13403

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.changeset/large-cheetahs-jump.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@hyperdx/api": patch
3+
"@hyperdx/app": patch
4+
---
5+
6+
fix: use '--kill-others-on-fail' to prevent processes from terminating when RUN_SCHEDULED_TASKS_EXTERNALLY is enabled

docker/hyperdx/entry.local.base.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ opampsupervisor --config /etc/otel/supervisor.yaml > /var/log/otel-collector.log
6363

6464
# Start HyperDX app
6565
npx concurrently \
66-
"--kill-others" \
66+
"--kill-others-on-fail" \
6767
"--names=API,APP,ALERT-TASK" \
6868
"PORT=${HYPERDX_API_PORT:-8000} HYPERDX_APP_PORT=${HYPERDX_APP_PORT:-8080} node -r ./packages/api/tracing ./packages/api/index" \
6969
"cd ./packages/app/packages/app && HOSTNAME='0.0.0.0' HYPERDX_API_PORT=${HYPERDX_API_PORT:-8000} PORT=${HYPERDX_APP_PORT:-8080} node server.js" \

docker/hyperdx/entry.prod.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ echo ""
1313

1414
# Use concurrently to run both the API and App servers
1515
npx concurrently \
16-
"--kill-others" \
16+
"--kill-others-on-fail" \
1717
"--names=API,APP,ALERT-TASK" \
1818
"PORT=${HYPERDX_API_PORT:-8000} HYPERDX_APP_PORT=${HYPERDX_APP_PORT:-8080} node -r ./packages/api/tracing ./packages/api/index" \
1919
"cd ./packages/app/packages/app && HOSTNAME='0.0.0.0' HYPERDX_API_PORT=${HYPERDX_API_PORT:-8000} PORT=${HYPERDX_APP_PORT:-8080} node server.js" \

0 commit comments

Comments
 (0)