diff --git a/utils/utils.go b/utils/utils.go index 2d7fcd94..4fdee729 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -301,8 +301,8 @@ func HttpRequest(url, method string, content interface{}, headers []string, body var resp *http.Response dialer := &net.Dialer{ - Timeout: timeout * time.Second, - KeepAlive: timeout * time.Second, + Timeout: timeout, + KeepAlive: timeout, } transport := &http.Transport{