Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
….com

Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and blizzz committed Nov 22, 2023
commit 053157b87e77d98b24037390c52b85992db0340a
4 changes: 3 additions & 1 deletion lib/private/Updater/VersionCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,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