minor adjustment

This commit is contained in:
da
2017-01-22 00:43:08 +01:00
parent 4319e64f4e
commit d76f416272
+3
View File
@@ -463,6 +463,9 @@ func setIdleStatus() {
func checkReconnectCounter() {
mutex.Lock()
if len(queues) > 0 {
return
}
if rcCounter >= 20 {
reconnect()
rcCounter = 0