From 46e7a91719627bd4b679d3e96a31e447a933d36c Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Mon, 13 Nov 2023 21:23:50 +0800 Subject: [PATCH] fix --- websocket.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {