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,