Skip to content

Commit 1986efc

Browse files
authoredJul 2, 2024
up log max record size to 4MB (#513)
1 parent 0b6ca58 commit 1986efc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎library/src/main/java/com/qiniu/android/collect/ReportConfig.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class ReportConfig {
2424
public long uploadThreshold;
2525

2626
/**
27-
* 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为20 * 1024 * 1024
27+
* 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为4 * 1024 * 1024
2828
*/
2929
public long maxRecordFileSize;
3030

‎library/src/main/java/com/qiniu/android/common/Config.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public final class Config {
5656
* <p>
5757
* 记录文件大于此值后暂停记录上传信息。
5858
*/
59-
public static int maxRecordFileSize = 20 * 1024 * 1024;
59+
public static int maxRecordFileSize = 4 * 1024 * 1024;
6060

6161
/**
6262
* 记录文件大于 uploadThreshold 后才可能触发上传,单位:字节。

0 commit comments

Comments
 (0)