Skip to content

Commit

Permalink
up log max record size to 4MB (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
YangSen-qn authored Jul 2, 2024
1 parent 0b6ca58 commit 1986efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class ReportConfig {
public long uploadThreshold;

/**
* 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为20 * 1024 * 1024
* 记录文件最大值 要大于 uploadThreshold 单位:字节 默认为4 * 1024 * 1024
*/
public long maxRecordFileSize;

Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/com/qiniu/android/common/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public final class Config {
* <p>
* 记录文件大于此值后暂停记录上传信息。
*/
public static int maxRecordFileSize = 20 * 1024 * 1024;
public static int maxRecordFileSize = 4 * 1024 * 1024;

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

0 comments on commit 1986efc

Please sign in to comment.