Reduce reindexer dynamic throttle policy weight
@@ -12,6 +12,7 @@ import com.yahoo.documentapi.VisitorControlHandler;
import com.yahoo.documentapi.VisitorParameters;
import com.yahoo.documentapi.messagebus.protocol.DocumentProtocol;
import com.yahoo.jdisc.Metric;
+import com.yahoo.messagebus.DynamicThrottlePolicy;
import com.yahoo.vespa.curator.Lock;
import java.time.Clock;
@@ -192,6 +193,7 @@ public class Reindexer {
VisitorParameters createParameters(DocumentType type, ProgressToken progress) {
VisitorParameters parameters = new VisitorParameters(type.getName());
+ parameters.setThrottlePolicy(new DynamicThrottlePolicy().setWeight(0.25));
parameters.setRemoteDataHandler(cluster.name());
parameters.setResumeToken(progress);
parameters.setFieldSet(type.getName() + ":[document]");
