When dealing with fast services it is reasonable to be willing to
limit the timeout to a smaller value than 1 second. We run services
that are fine with 40ms-200ms response times, and if they go over
that they cause upstream latencies to shoot up. We can switch
to using the _MS timeout settings of libCURL to be able to set
the timeouts with Float values. This gives us the possibility to
tighten up the timeouts.
Also removes the artificial restriction on the timeout not being 0
since in libCURL a timeout of 0 means "no timeout" and that could
also be a legitimate user need.
When dealing with fast services it is reasonable to be willing to limit the timeout to a smaller value than 1 second. We run services that are fine with 40ms-200ms response times, and if they go over that they cause upstream latencies to shoot up. We can switch to using the _MS timeout settings of libCURL to be able to set the timeouts with Float values. This gives us the possibility to tighten up the timeouts.
Also removes the artificial restriction on the timeout not being 0 since in libCURL a timeout of 0 means "no timeout" and that could also be a legitimate user need.