From 516f7b84682e1b8ec18d47df5ef476fe4720f6d9 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Mon, 5 Dec 2022 12:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E6=97=B6=205s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Module.php b/app/Models/Module.php index 3bc3e8d..1fe868d 100644 --- a/app/Models/Module.php +++ b/app/Models/Module.php @@ -177,7 +177,7 @@ public function check($module_id = null): bool public function http(): PendingRequest { - return Http::module($this->api_token, $this->url)->acceptJson(); + return Http::module($this->api_token, $this->url)->acceptJson()->timeout(5); } #[ArrayShape(['transactions' => "array"])]