Przeglądaj źródła

Update AsyncTcpConnection.php

walkor 9 lat temu
rodzic
commit
9b551e8215
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
         }