Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
This commit is contained in:
2015-03-26 10:23:27 +03:00
parent 4e54447b8e
commit 993af2705a
23 changed files with 306 additions and 48 deletions

View File

@@ -81,7 +81,7 @@ type Getter interface {
func NewHttpClient() *HttpClient {
hc := &HttpClient{
MaxBackoff: time.Second * 5,
MaxRetries: 15,
MaxRetries: 15, //TODO(configure duration)
Timeout: time.Duration(2) * time.Second,
SkipTLS: false,
}