From 4e78d559a89a9a7ce4a5a735d5461c27f725fa9e Mon Sep 17 00:00:00 2001 From: devlikepro Date: Sun, 30 Nov 2025 16:31:25 +0700 Subject: [PATCH] [core] Disable cpu-prof when WAHA_DEBUG_MODE=true fix #1681 --- entrypoint.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d3e6b569..c27bdac1 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -70,16 +70,6 @@ else fi fi -# -# Enable CPU profiling -# -if [ "$WAHA_DEBUG_MODE" = "true" ] || [ "$WAHA_DEBUG_MODE" = "True" ] || [ "$WAHA_DEBUG_MODE" = "1" ]; then - case " $NODE_OPTIONS " in - *" --cpu-prof "*) ;; - *) export NODE_OPTIONS="${NODE_OPTIONS:+$NODE_OPTIONS }--cpu-prof" ;; - esac -fi - # # Start your application using node with exec to ensure proper signal handling #