diff options
-rw-r--r-- | lib/Capabilities.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Capabilities.php b/lib/Capabilities.php index 439930c0..861231ec 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -104,7 +104,12 @@ class Capabilities implements ICapability { $client = $this->clientService->newClient(); try { - $response = $client->get($capabilitiesEndpoint); + $response = $client->get( + $capabilitiesEndpoint, + [ + 'timeout' => 5, + ] + ); } catch (\Exception $e) { return []; } |