This commit is contained in:
eson 2023-11-13 21:23:50 +08:00
parent 4a12c339f0
commit 46e7a91719

View File

@ -18,8 +18,8 @@ var UidCreater = NewUniqueId(1)
var PopChannel chan *QueueItem = make(chan *QueueItem, 100) // chan *QueueItem = make(chan *QueueItem, 1)
var upgrader = websocket.Upgrader{
ReadBufferSize: 1024,
WriteBufferSize: 1024,
ReadBufferSize: 10240,
WriteBufferSize: 10240,
}
func HttpListen(ns *dragonboat.NodeHost, port int) {