Commit c6c50016 by jianshuqin

cfg.connectTimeout = 1000

parent 35842e26
......@@ -132,7 +132,8 @@ public class CostFileUtil {
// Configuration cfg = new Configuration(Zone.zone2());
Configuration cfg = new Configuration(Region.region2());
//2、其他参数参考类注释
cfg.useHttpsDomains = false;
cfg.connectTimeout = 1000;
UploadManager uploadManager = new UploadManager(cfg);
//3、生成上传凭证,然后准备上传
String accessKey = "QSvtvN4Ons1CiNzaMGqx8XmDaiM1L0ZqSwJ2YoTn";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment