modify cluster logic
This commit is contained in:
1 parent
6a89b627d4
commit
5786e69b01
5 files changed
+18
-2
No files matched your search
@@ -34,6 +34,7 @@ func (c *client) StartPing() {
|
||||
err := c.WriterPacket(ping)
|
||||
if err != nil {
|
||||
log.Error("ping error: ", err)
|
||||
c.Close()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user