mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 09:46:46 +02:00
[ticket/17443] Increase Guzzle client request timeout for version checks
PHPBB-17443
This commit is contained in:
@@ -381,7 +381,7 @@ class version_helper
|
|||||||
}
|
}
|
||||||
else if ($info === false || $force_update)
|
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();
|
$error_string = $this->file_downloader->get_error_string();
|
||||||
|
|
||||||
if (!empty($error_string))
|
if (!empty($error_string))
|
||||||
|
Reference in New Issue
Block a user