modify log

This commit is contained in:
zhouyuyan
2017-12-07 16:30:48 +08:00
parent 5786e69b01
commit bdd802ebfb
4 changed files with 1 additions and 8 deletions

View File

@@ -459,7 +459,7 @@ func (c *client) Close() {
return
}
//wait for message complete
time.Sleep(time.Second)
time.Sleep(10 * time.Second)
c.smu.Lock()
c.status = Disconnected