mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-21 23:14:27 +01:00
reduce cache duration
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user