diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 439930c056..861231ec7b 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -104,7 +104,12 @@ private function getCollaboraCapabilities() { $client = $this->clientService->newClient(); try { - $response = $client->get($capabilitiesEndpoint); + $response = $client->get( + $capabilitiesEndpoint, + [ + 'timeout' => 5, + ] + ); } catch (\Exception $e) { return []; }