Skip to content

Commit c8b5634

Browse files
committed
refactor: DLCache 默认最大缓存个数设置为 1w
1 parent 06402e9 commit c8b5634

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

common/plugin/cache/src/main/java/top/cadecode/uniboot/common/plugin/cache/l2cache/DLCacheProperties.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ public static class LocalConfig {
5454

5555
/**
5656
* 最大缓存个数,为 0 表示默认
57+
* 默认最多 5 万条
5758
*/
58-
private long maximumSize;
59+
private long maximumSize = 10000L;
5960
}
6061

6162
@Data

0 commit comments

Comments
 (0)