summaryrefslogtreecommitdiffstats
path: root/vespa-feed-client
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2021-06-18 16:37:14 +0200
committerJon Marius Venstad <venstad@gmail.com>2021-06-21 09:33:03 +0200
commit29c87dc9d238b30be264101c76065ac25039f60e (patch)
tree4e6248e4994077e1d6723efae2a796a7da4c41a1 /vespa-feed-client
parentdf729adc7deebaae7101b2342fa108c50dac5555 (diff)
Weight throughput higher
Diffstat (limited to 'vespa-feed-client')
-rw-r--r--vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java b/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java
index ef4d228466b..6d23fed33f8 100644
--- a/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java
+++ b/vespa-feed-client/src/main/java/ai/vespa/feed/client/DynamicThrottler.java
@@ -23,7 +23,7 @@ public class DynamicThrottler extends StaticThrottler {
private final AtomicLong targetInflight;
private long updateNanos = 0;
private final List<AtomicReference<Double>> latencies = new ArrayList<>();
- private final double weight = 0.5; // Higher weight favours higher (exclusive) throughput, at the cost of (shared) latency.
+ private final double weight = 0.7; // Higher weight favours higher (own) throughput, at the cost of (shared) latency.
public DynamicThrottler(FeedClientBuilder builder) {
super(builder);