fix
This commit is contained in:
parent
07d1a443b9
commit
63413d8a1e
|
@ -42,9 +42,9 @@ func queueHandler(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
raddr := conn.RemoteAddr()
|
||||
// laddr := conn.LocalAddr()
|
||||
log.Printf("%s 建立连接 当前unity处理机器数量 %d\n", raddr, DequeueHandler.RefCountAdd(1))
|
||||
fmt.Printf("%s 建立连接 当前unity处理机器数量 %d\n", raddr, DequeueHandler.RefCountAdd(1))
|
||||
defer func() {
|
||||
log.Printf("%s 退出连接 当前unity处理机器数量 %d\n", raddr, DequeueHandler.RefCountAdd(-1))
|
||||
fmt.Printf("%s 退出连接 当前unity处理机器数量 %d\n", raddr, DequeueHandler.RefCountAdd(-1))
|
||||
}()
|
||||
|
||||
for {
|
||||
|
|
Loading…
Reference in New Issue
Block a user