fix:aliyun jsonRequest 增加i/o timeout retry

This commit is contained in:
lvyangyang
2020-10-13 16:55:31 +08:00
parent 8855dff371
commit 93365de62e
+5
View File
@@ -136,6 +136,11 @@ func jsonRequest(client *sdk.Client, domain, apiVersion, apiName string, params
}
}
for _, code := range []string{
"EOF",
"i/o timeout",
"TLS handshake timeout",
"connection reset by peer",
"server misbehaving",
"SignatureNonceUsed",
"InvalidInstance.NotSupported",
"try later",