diff options
author | Jon Marius Venstad <jonmv@users.noreply.github.com> | 2021-08-10 19:33:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-10 19:33:36 +0200 |
commit | 643e6bfe7cfaf20a8f182ca88f4c0ea3f06fb663 (patch) | |
tree | 28e81f87d0cae0c38e90a616538069fe6b68874f /vespa-feed-client | |
parent | b120c447fa737576df4956e27c8312bba58b3ea1 (diff) |
Use 10s grace before half-open circuit breaker
Diffstat (limited to 'vespa-feed-client')
-rw-r--r-- | vespa-feed-client/src/main/java/ai/vespa/feed/client/FeedClientBuilder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/FeedClientBuilder.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/FeedClientBuilder.java index d85fd7bfa2b..f326f3e2a34 100644 --- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/FeedClientBuilder.java +++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/FeedClientBuilder.java @@ -37,7 +37,7 @@ public class FeedClientBuilder { int connectionsPerEndpoint = 4; int maxStreamsPerConnection = 4096; FeedClient.RetryStrategy retryStrategy = defaultRetryStrategy; - FeedClient.CircuitBreaker circuitBreaker = new GracePeriodCircuitBreaker(Duration.ofSeconds(1), Duration.ofMinutes(10)); + FeedClient.CircuitBreaker circuitBreaker = new GracePeriodCircuitBreaker(Duration.ofSeconds(10), Duration.ofMinutes(10)); Path certificateFile; Path privateKeyFile; Path caCertificatesFile; |