mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
Merge pull request #40071 from nextcloud/bugfix/noid/dont-block-admin-page-when-updater.nextcloud.com-is-down
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
This commit is contained in:
commit
99f945622f
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,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