diff --git a/contrib/sentry.php b/contrib/sentry.php index 14b9d9f2b..f84450950 100644 --- a/contrib/sentry.php +++ b/contrib/sentry.php @@ -132,6 +132,7 @@ static function (&$value) use ($config) { $response = Httpie::post( $releasesApiUrl ) + ->setopt(CURLOPT_TIMEOUT, 10) ->header('Authorization', sprintf('Bearer %s', $config['token'])) ->jsonBody($releaseData) ->getJson(); @@ -162,6 +163,7 @@ static function (&$value) use ($config) { $response = Httpie::post( $releasesApiUrl . $response['version'] . '/deploys/' ) + ->setopt(CURLOPT_TIMEOUT, 10) ->header('Authorization', sprintf('Bearer %s', $config['token'])) ->jsonBody($deployData) ->getJson();