diff --git a/platformapi/platformapi.go b/platformapi/platformapi.go index d8673e29..6e0a9f1b 100644 --- a/platformapi/platformapi.go +++ b/platformapi/platformapi.go @@ -110,7 +110,7 @@ func AccessPlatformAPIWithRetry(client *http.Client, handleRequest func() *http. if err != nil { baseapi.SugarLogger.Debugf("AccessPlatformAPIWithRetry:%s client.Get return err:%v", trackID, err) err, ok := err.(net.Error) - if ok && err.Timeout() && recoverableErrorRetryCount <= config.MaxRecoverableRetryCount { + if ok /*&& err.Timeout()*/ && recoverableErrorRetryCount <= config.MaxRecoverableRetryCount { // 只要是网络错误都重试 recoverableErrorRetryCount++ continue } else {