1
This commit is contained in:
@@ -186,7 +186,7 @@ func (t *TcpClient) buildAllMap(key string) {
|
|||||||
defer t.Unlock()
|
defer t.Unlock()
|
||||||
t.MsgMap[key] = make(chan *model.PrintMsg, 1024)
|
t.MsgMap[key] = make(chan *model.PrintMsg, 1024)
|
||||||
t.CallBackMap[key] = make(chan string, 1024)
|
t.CallBackMap[key] = make(chan string, 1024)
|
||||||
t.TimeoutMap[key] = make(chan bool)
|
t.TimeoutMap[key] = make(chan bool, 64)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *TcpClient) getPrintStatus(key string) int {
|
func (t *TcpClient) getPrintStatus(key string) int {
|
||||||
|
|||||||
Reference in New Issue
Block a user