mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
PT-Gen request timeout change to 10 sec
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user