Browse Source

Update AsyncTcpConnection.php

walkor 9 năm trước cách đây
mục cha
commit
9b551e8215
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
         }