Skip to content

Commit b2f5e5c

Browse files
committed
time unit fixed
1 parent 0a2dd21 commit b2f5e5c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/com/qiniu/common/Config.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public final class Config {
3838
*/
3939
public static int PUT_THRESHOLD = BLOCK_SIZE;
4040
/**
41-
* 连接超时时间(默认10s)
41+
* 连接超时时间 单位秒(默认10s)
4242
*/
43-
public static int CONNECT_TIMEOUT = 10 * 1000;
43+
public static int CONNECT_TIMEOUT = 10;
4444
/**
45-
* 回复超时时间(默认30s)
45+
* 回复超时时间 单位秒(默认30s)
4646
*/
47-
public static int RESPONSE_TIMEOUT = 30 * 1000;
47+
public static int RESPONSE_TIMEOUT = 30;
4848
/**
4949
* 上传失败重试次数
5050
*/

0 commit comments

Comments
 (0)