From 7baba29d9d9a34dcc2ac050963cbf0d50f0f4567 Mon Sep 17 00:00:00 2001 From: rxu Date: Mon, 25 Nov 2024 12:39:53 +0700 Subject: [PATCH] [ticket/17443] Increase Guzzle client request timeout for version checks PHPBB-17443 --- phpBB/phpbb/version_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/phpbb/version_helper.php b/phpBB/phpbb/version_helper.php index 3e11c3419e..4844c6e62e 100644 --- a/phpBB/phpbb/version_helper.php +++ b/phpBB/phpbb/version_helper.php @@ -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))