This commit is contained in:
laodaming 2023-09-07 12:19:52 +08:00
parent cd108c6055
commit f64b6e8a43

View File

@ -217,7 +217,7 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use
func getCacheChanLenByLevel(level int) int { func getCacheChanLenByLevel(level int) int {
switch level { switch level {
case 1: case 1:
return 50 return 10
case 2: case 2:
return 100 return 100
case 3: case 3:
@ -225,7 +225,7 @@ func getCacheChanLenByLevel(level int) int {
case 4: case 4:
return 1000 return 1000
default: default:
return 50 return 10
} }
} }