mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
71578e452f
commit
a5d751cda8
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