Pārlūkot izejas kodu

Update AsyncTcpConnection.php

walkor 9 gadi atpakaļ
vecāks
revīzija
9b551e8215
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
         }