Closed riot-jetaylor closed 5 years ago
Should we have it be a configureable amount or just a const thats at the top of the file?
I'd like a single constant to represent all timeouts. Something in consts.go
. Thoughts?
That way it could be overridden during compilation like we do with the other vars there.
@rnikoopour this look better?
Updated all HTTP clients to have a timeout set.
Also, removed the reusable httpClient and generate a fresh one each time.