mirror of
https://github.com/fhmq/hmq.git
synced 2026-08-29 14:03:10 +00:00
modify time close
This commit is contained in:
+1
-1
@@ -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