diff --git a/lib/pact_broker/domain/webhook_request.rb b/lib/pact_broker/domain/webhook_request.rb index b0f660a92..1299f8b8b 100644 --- a/lib/pact_broker/domain/webhook_request.rb +++ b/lib/pact_broker/domain/webhook_request.rb @@ -51,7 +51,7 @@ def redacted_headers end def execute - options = PactBroker::BuildHttpOptions.call(uri) + options = PactBroker::BuildHttpOptions.call(uri).merge(read_timeout: 15, open_timeout: 15) req = http_request Net::HTTP.start(uri.hostname, uri.port, :ENV, options) do |http| http.request req