diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index 643e97aa..8e6bb1fa 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -63,7 +63,7 @@ var ( //写的缓冲队列 WriteBufferPool: &buffPool, //是否支持压缩 - EnableCompression: false, + EnableCompression: true, } //websocket连接存储 mapConnPool = sync.Map{}