We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d30097e + 7493d93 commit 72b4b4bCopy full SHA for 72b4b4b
src/com/qiniu/io/IO.java
@@ -21,7 +21,6 @@
21
import com.qiniu.utils.MultipartEntity;
22
import com.qiniu.utils.FileUri;
23
import com.qiniu.utils.QiniuException;
24
-import com.qiniu.utils.RetryRet;
25
26
public class IO {
27
@@ -97,17 +96,7 @@ public void onFailure(QiniuException ex) {
97
96
}
98
});
99
100
- CallRet retryRet = new RetryRet(ret){
101
- @Override
102
- public void onFailure(QiniuException ex) {
103
- if (ex.code/100 == 4 || ex.code == 579) {
104
- ret.onFailure(ex);
105
- return;
106
- }
107
- client.call(executor, Conf.UP_HOST2, m, ret);
108
109
- };
110
- client.call(executor, Conf.UP_HOST, m, retryRet);
+ client.call(executor, Conf.UP_HOST, m, ret);
111
112
113
/**
0 commit comments