mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #42078 from nextcloud/backport/40071/stable27
[stable27] fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
This commit is contained in:
commit
41f31f2e1c
1 changed files with 3 additions and 1 deletions
|
|
@ -123,7 +123,9 @@ class VersionCheck {
|
|||
*/
|
||||
protected function getUrlContent($url) {
|
||||
$client = $this->clientService->newClient();
|
||||
$response = $client->get($url);
|
||||
$response = $client->get($url, [
|
||||
'timeout' => 5,
|
||||
]);
|
||||
return $response->getBody();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue