Closed lutfuahmet closed 6 months ago
@mms-gianni this PR ignores the error from strconv.Atoi
, if the environment variable is set to "15s" instead of just "15", the variable won't do anything. For invalid values we should warn the user that it would be ignored.
This pull request introduces a configurable timeout feature for http client. The default timeout is set to 15 seconds, but users can now modify it by utilizing the HTTP_TIMEOUT environment variable.