mirror of
https://github.com/fhmq/hmq.git
synced 2026-04-24 10:38:34 +00:00
modify time close
This commit is contained in:
@@ -459,7 +459,7 @@ func (c *client) Close() {
|
||||
return
|
||||
}
|
||||
//wait for message complete
|
||||
time.Sleep(10 * time.Second)
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
c.smu.Lock()
|
||||
c.status = Disconnected
|
||||
|
||||
Reference in New Issue
Block a user