Skip to content

Commit

Permalink
lower cache timeout for channel policies
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Otto committed May 11, 2024
1 parent 051c7bf commit 17907e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ public GrpcChannelPolicy(GrpcService grpcService, GrpcGetInfo grpcGetInfo, GrpcP
this.grpcGetInfo = grpcGetInfo;
this.grpcPolicy = grpcPolicy;
channelEdgeCache = new CacheBuilder()
.withExpiry(Duration.ofMinutes(1))
.withRefresh(Duration.ofSeconds(30))
.withExpiry(Duration.ofSeconds(10))
.withRefresh(Duration.ofSeconds(5))
.build(this::getChannelEdgeWithoutCache);
}

Expand Down

0 comments on commit 17907e4

Please sign in to comment.