Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
poorbarcode committed Jul 19, 2024
1 parent 1470630 commit b96dbbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class NamespaceName implements ServiceUnitId {
private final String localName;

private static final LoadingCache<String, NamespaceName> cache = CacheBuilder.newBuilder().maximumSize(100000)
.expireAfterWrite(30, TimeUnit.MINUTES).build(new CacheLoader<String, NamespaceName>() {
.expireAfterAccess(30, TimeUnit.MINUTES).build(new CacheLoader<String, NamespaceName>() {
@Override
public NamespaceName load(String name) throws Exception {
return new NamespaceName(name);
Expand Down

0 comments on commit b96dbbd

Please sign in to comment.