Revert "改名"

This reverts commit fdf58326
This commit is contained in:
2022-01-13 18:57:53 +08:00
parent a16d841d98
commit ee492d97ad
2 changed files with 1 additions and 3 deletions
-3
View File
@@ -96,9 +96,6 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
$async_time = (int)Config::get('consul.async_time', 1000);
Timer::tick($async_time, static function ($timeId) {
if (env('state', 'start') == 'exit') {
var_dump('clear');
Timer::clear($timeId);
return;
}
+1
View File
@@ -58,6 +58,7 @@ class RpcManager extends Component
$service = Kiri::getDi()->get(Agent::class);
$info = $service->service->service_health($config['config']['ID']);
var_dump($info);
if ($info->getStatusCode() == 200) {
return;
}