``refactor(websocket): 移除未使用的os包导入并硬编码debugTrace为true``

This commit is contained in:
1
2025-10-16 15:26:12 +00:00
parent 42bb66f677
commit 341fc4120b

View File

@@ -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