Skip to content

Commit

Permalink
Merge pull request #42078 from nextcloud/backport/40071/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
  • Loading branch information
blizzz authored Dec 7, 2023
2 parents d5a9582 + 8386692 commit 41f31f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/private/Updater/VersionCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ public function check() {
*/
protected function getUrlContent($url) {
$client = $this->clientService->newClient();
$response = $client->get($url);
$response = $client->get($url, [
'timeout' => 5,
]);
return $response->getBody();
}

Expand Down

0 comments on commit 41f31f2

Please sign in to comment.