Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Oct 29, 2020
1 parent d340a8a commit aaa611f
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ public class ClusterLocalCache<K, V> implements ClusterCache<K, V> {
private final ClusterTopic<K> clearTopic;

public ClusterLocalCache(String name, ClusterManager clusterManager) {
this(name, clusterManager, clusterManager.getCache(name), CacheBuilder.newBuilder()
// .expireAfterAccess(Duration.ofMinutes(30))
// .expireAfterWrite(Duration.ofMinutes(30))
// .softValues()
.build());
this(name, clusterManager, clusterManager.getCache(name), CacheBuilder.newBuilder().build());
}

public ClusterLocalCache(String name,
Expand Down

0 comments on commit aaa611f

Please sign in to comment.