reduce cache duration

This commit is contained in:
Carsten Otto
2021-12-01 21:15:32 +01:00
parent ffbb4c6d42
commit 002a6860a7

View File

@@ -20,7 +20,7 @@ public class GrpcChannelPolicy {
this.grpcService = grpcService;
this.grpcGetInfo = grpcGetInfo;
channelEdgeCache = new CacheBuilder()
.withExpiry(Duration.ofMinutes(1))
.withExpiry(Duration.ofSeconds(10))
.build(this::getChannelEdgeWithoutCache);
}