minor adjustment

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