Support rebooting workers
This commit is contained in:
@@ -248,7 +248,7 @@ func (r *HTTPClient) shouldRetry(resp *http.Response, reqHasRangeHeader bool, er
|
||||
}
|
||||
}
|
||||
}
|
||||
if err != nil && strings.Contains(err.Error(), "timeout awaiting response headers") {
|
||||
if err != nil && strings.Contains(err.Error(), "timeout") {
|
||||
return 1
|
||||
}
|
||||
if resp != nil {
|
||||
|
||||
Reference in New Issue
Block a user