From 4a12c339f01de7a5c4ba6d857de1ad3a3a0a6f2d Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Mon, 13 Nov 2023 21:17:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- websocket.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket.go b/websocket.go index e1dfce6..0b24f83 100644 --- a/websocket.go +++ b/websocket.go @@ -15,7 +15,7 @@ import ( ) var UidCreater = NewUniqueId(1) -var PopChannel chan *QueueItem = make(chan *QueueItem, 3) // chan *QueueItem = make(chan *QueueItem, 1) +var PopChannel chan *QueueItem = make(chan *QueueItem, 100) // chan *QueueItem = make(chan *QueueItem, 1) var upgrader = websocket.Upgrader{ ReadBufferSize: 1024,