diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2021-06-21 09:26:38 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2021-06-21 09:33:03 +0200 |
commit | 7f0b51b604fd1e84be5684a8389c9e111fc5ede7 (patch) | |
tree | 447d641d061124a21fc9f2ceea40eaba193edf14 | |
parent | 29c87dc9d238b30be264101c76065ac25039f60e (diff) |
Use a static throttler for now
-rw-r--r-- | vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java index 32032cda54b..763357d8fbb 100644 --- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java +++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/HttpRequestStrategy.java @@ -63,7 +63,7 @@ class HttpRequestStrategy implements RequestStrategy { this.cluster = builder.benchmark ? new BenchmarkingCluster(cluster) : cluster; this.strategy = builder.retryStrategy; this.breaker = builder.circuitBreaker; - this.throttler = new DynamicThrottler(builder); + this.throttler = new StaticThrottler(builder); Thread dispatcher = new Thread(this::dispatch, "feed-client-dispatcher"); dispatcher.setDaemon(true); |