diff --git a/grpc-adapter/src/main/java/de/cotto/lndmanagej/grpc/GrpcChannelPolicy.java b/grpc-adapter/src/main/java/de/cotto/lndmanagej/grpc/GrpcChannelPolicy.java index 8b31a137..89b2dbc5 100644 --- a/grpc-adapter/src/main/java/de/cotto/lndmanagej/grpc/GrpcChannelPolicy.java +++ b/grpc-adapter/src/main/java/de/cotto/lndmanagej/grpc/GrpcChannelPolicy.java @@ -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); }