From 2c695cbf9c84eb344d355a38fb91d88bc937a725 Mon Sep 17 00:00:00 2001 From: tanszhe <1018595261@qq.com> Date: Mon, 4 Mar 2019 17:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Swoole/Client/Tcp.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Swoole/Client/Tcp.php b/src/Swoole/Client/Tcp.php index 801863f..db4d6b2 100644 --- a/src/Swoole/Client/Tcp.php +++ b/src/Swoole/Client/Tcp.php @@ -21,8 +21,6 @@ class Tcp private $config = []; - private $retry_count = 3; - private $max_retry_count = 1; /** @@ -101,7 +99,6 @@ class Tcp $ret = $this->protocol::decode($ret); } $this->push($rs); - $this->retry_count = 3; return $ret; } @@ -113,7 +110,6 @@ class Tcp } $ret = $rs->send($data); $this->push($rs); - $this->retry_count = 3; return $ret; } -- GitLab