diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index d66990fb..4d2ae3c3 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -217,7 +217,7 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use func getCacheChanLenByLevel(level int) int { switch level { case 1: - return 50 + return 10 case 2: return 100 case 3: @@ -225,7 +225,7 @@ func getCacheChanLenByLevel(level int) int { case 4: return 1000 default: - return 50 + return 10 } }