From 609c5497550adcb2f5ce71f907b33e4b1a40cdc2 Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Thu, 14 Apr 2022 14:20:11 +0800 Subject: [PATCH] PT-Gen request timeout change to 10 sec --- nexus/PTGen/PTGen.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/PTGen/PTGen.php b/nexus/PTGen/PTGen.php index e7187cde..83771dc7 100644 --- a/nexus/PTGen/PTGen.php +++ b/nexus/PTGen/PTGen.php @@ -154,7 +154,7 @@ HTML; } do_log("$logPrefix, going to send request..."); $http = new Client(); - $response = $http->get($url, ['timeout' => 5]); + $response = $http->get($url, ['timeout' => 10]); $statusCode = $response->getStatusCode(); if ($statusCode != 200) { $msg = "api point response http status code: $statusCode";