mirror of
https://github.com/originalmk/archat-server.git
synced 2025-01-18 16:29:17 +00:00
Remove unecessary sleep
This commit is contained in:
parent
694a1d810e
commit
bee6160547
@ -202,9 +202,6 @@ func (ctx *Context) handleChatStartFinish(reqFrame common.RFrame) (res common.Re
|
|||||||
return nil, nil
|
return nil, nil
|
||||||
}
|
}
|
||||||
logger.Debug("resolved raddr", "raddr", raddr.String())
|
logger.Debug("resolved raddr", "raddr", raddr.String())
|
||||||
|
|
||||||
time.Sleep(time.Second * 3)
|
|
||||||
|
|
||||||
logger.Debug("dialing udp")
|
logger.Debug("dialing udp")
|
||||||
conn, err := net.DialUDP("udp", laddr, raddr)
|
conn, err := net.DialUDP("udp", laddr, raddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user