From 341fc4120b2c0c35ab945e0adf75e11c5fd295d9 Mon Sep 17 00:00:00 2001 From: 1 <1@72wo.cn> Date: Thu, 16 Oct 2025 15:26:12 +0000 Subject: [PATCH] =?UTF-8?q?```refactor(websocket):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84os=E5=8C=85=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=B9=B6=E7=A1=AC=E7=BC=96=E7=A0=81debugTrace?= =?UTF-8?q?=E4=B8=BAtrue```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/utils/go-jsonrpc/websocket.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/utils/go-jsonrpc/websocket.go b/common/utils/go-jsonrpc/websocket.go index b4e6d994..1f9b2100 100644 --- a/common/utils/go-jsonrpc/websocket.go +++ b/common/utils/go-jsonrpc/websocket.go @@ -6,7 +6,6 @@ import ( "errors" "fmt" "io" - "os" "reflect" "sync" "sync/atomic" @@ -20,7 +19,7 @@ const wsCancel = "xrpc.cancel" const chValue = "xrpc.ch.val" const chClose = "xrpc.ch.close" -var debugTrace = os.Getenv("JSONRPC_ENABLE_DEBUG_TRACE") == "1" +var debugTrace = true //os.Getenv("JSONRPC_ENABLE_DEBUG_TRACE") == "1" type frame struct { // common