walkor 9 лет назад
Родитель
Сommit
9b551e8215
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Connection/AsyncTcpConnection.php

+ 1 - 1
Connection/AsyncTcpConnection.php

@@ -195,7 +195,7 @@ class AsyncTcpConnection extends TcpConnection
         if ($this->_reconnectTimer) {
             Timer::del($this->_reconnectTimer);
         }
-        if ($after >= 0) {
+        if ($after > 0) {
             $this->_reconnectTimer = Timer::add($after, array($this, 'connect'), null, false);
             return;
         }