浏览代码

Update AsyncTcpConnection.php

walkor 9 年之前
父节点
当前提交
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;
         }