amplitude-api
amplitude-api copied to clipboard
Add the ability to set request timeout options
The default request timeout of Net::HTTP is quite generous (60 seconds). This PR allows users to tweak the timeouts, if needed.
Should we allow specifying timeout overrides on a per-method basis as well? Like setting default to be 10 seconds, but if we push multiple events – pass timeout override. I don't know how much valuable it is.