diff --git a/library/src/main/java/com/qiniu/android/collect/ReportConfig.java b/library/src/main/java/com/qiniu/android/collect/ReportConfig.java index 61b66459..b3506443 100644 --- a/library/src/main/java/com/qiniu/android/collect/ReportConfig.java +++ b/library/src/main/java/com/qiniu/android/collect/ReportConfig.java @@ -24,7 +24,7 @@ public class ReportConfig { public long uploadThreshold; /** - * 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为20 * 1024 * 1024 + * 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为4 * 1024 * 1024 */ public long maxRecordFileSize; diff --git a/library/src/main/java/com/qiniu/android/common/Config.java b/library/src/main/java/com/qiniu/android/common/Config.java index dd3c48c4..c75a5780 100644 --- a/library/src/main/java/com/qiniu/android/common/Config.java +++ b/library/src/main/java/com/qiniu/android/common/Config.java @@ -56,7 +56,7 @@ public final class Config { *

* 记录文件大于此值后暂停记录上传信息。 */ - public static int maxRecordFileSize = 20 * 1024 * 1024; + public static int maxRecordFileSize = 4 * 1024 * 1024; /** * 记录文件大于 uploadThreshold 后才可能触发上传,单位:字节。