This commit is contained in:
2021-12-24 14:53:59 +08:00
parent a6d825ef9b
commit 1bb26b4680
+1 -1
View File
@@ -95,7 +95,7 @@ class RpcJsonp extends Component implements OnConnectInterface, OnReceiveInterfa
return;
}
$async_time = (int)Config::get('consul.async_time', 1000);
Timer::tick(5000, static function ($timeId) {
Timer::tick($async_time, static function ($timeId) {
if (env('state', 'start') == 'exit') {
Timer::clear($timeId);
return;