Skip to content

Commit

Permalink
修改索引器结果缓存数量大小
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyPuppy514 committed Aug 8, 2023
1 parent 0cfe626 commit 2b3f72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/lckp/jproxy/config/CacheConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public long expireAfterUpdate(String key, Object graph, long currentTime, long c
public long expireAfterRead(String key, Object graph, long currentTime, long currentDuration) {
return currentDuration;
}
}).initialCapacity(3).maximumSize(10).build();
}).initialCapacity(100).maximumSize(1000).build();
}

@Bean
Expand Down

0 comments on commit 2b3f72f

Please sign in to comment.