[ticket/17443] Increase Guzzle client request timeout for version checks

PHPBB-17443
This commit is contained in:
rxu 2024-11-25 12:39:53 +07:00
parent 0e8f4f89d8
commit 7baba29d9d
No known key found for this signature in database
GPG key ID: 8117904FEDEFDD17

View file

@ -381,7 +381,7 @@ class version_helper
}
else if ($info === false || $force_update)
{
$info = $this->file_downloader->get($this->host, $this->path, $this->file, $this->use_ssl ? 443 : 80);
$info = $this->file_downloader->get($this->host, $this->path, $this->file, $this->use_ssl ? 443 : 80, 30);
$error_string = $this->file_downloader->get_error_string();
if (!empty($error_string))