From a66de3f0160424fc0b8e0f6cd5da21a454046863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 2 Dec 2021 15:57:36 +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/RpcManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RpcManager.php b/src/RpcManager.php index ff582eb..4ad5b77 100644 --- a/src/RpcManager.php +++ b/src/RpcManager.php @@ -61,7 +61,7 @@ class RpcManager { $file = storage('.rpc.clients.' . md5($serviceName), 'rpc'); if (!file_exists($file)) { - return []; + $this->tick(); } $content = json_decode(file_get_contents($file), true); if (empty($content) || !is_array($content)) {