volume id cache: reduce cache time

This commit is contained in:
Chris Lu 2020-11-15 21:27:21 -08:00
parent 61d96fde01
commit fe01059675

View file

@ -15,7 +15,7 @@ public class VolumeIdCache {
}
this.cache = CacheBuilder.newBuilder()
.maximumSize(maxEntries)
.expireAfterAccess(1, TimeUnit.HOURS)
.expireAfterAccess(5, TimeUnit.MINUTES)
.build();
}