From 1f0a1acd673b20cae5185c7f4a043b94ce9da2b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Fri, 29 Oct 2021 11:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RpcJsonp.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/RpcJsonp.php b/src/RpcJsonp.php index 0d04cec..dcdc16a 100644 --- a/src/RpcJsonp.php +++ b/src/RpcJsonp.php @@ -81,10 +81,8 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa ], "EnableTagOverride" => false, "Check" => [ - "DeregisterCriticalServiceAfter" => "90m", - "Args" => ["curl -X GET http://127.0.0.1:9527/"], - "Interval" => "10s", - "Timeout" => "5s" + "Http" => "http://127.0.0.1:9527", + "Interval" => "1s" ], "Weights" => [ "Passing" => 10,