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 #