diff --git a/websocket.go b/websocket.go index 0b24f83..2b91443 100644 --- a/websocket.go +++ b/websocket.go @@ -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) {