ITV / scala-pact

A Scala implementation of CDC using the Pact standard
Other
108 stars 54 forks source link

Missing client timeout connecting to pact broker #99

Open davesmith00000 opened 6 years ago

davesmith00000 commented 6 years ago

When trying to connect to an invalid pact broker address, the verify command takes a very long time to give up.

Some of the HttpClient interface methods do not take a client timeout value, suspect pushing that through is the way to tackle this issue.

pikazlou commented 5 years ago

It seems currently when fetching pact from broker , scala-pact uses hardcoded timeout of 2 seconds. This is not enough in my case. So would be great to have ability to override timeout value.