mirror of https://github.com/apache/druid.git
be able to set maxPendingPersists in plumber
This commit is contained in:
parent
fc80cf0f32
commit
4d6174ebf2
|
@ -117,6 +117,12 @@ public class RealtimePlumberSchool implements PlumberSchool
|
|||
this.rejectionPolicyFactory = factory;
|
||||
}
|
||||
|
||||
@JsonProperty("maxPendingPersists")
|
||||
public void setDefaultMaxPendingPersists(int maxPendingPersists)
|
||||
{
|
||||
this.maxPendingPersists = maxPendingPersists;
|
||||
}
|
||||
|
||||
public void setEmitter(ServiceEmitter emitter)
|
||||
{
|
||||
this.emitter = emitter;
|
||||
|
@ -152,11 +158,6 @@ public class RealtimePlumberSchool implements PlumberSchool
|
|||
this.queryExecutorService = executorService;
|
||||
}
|
||||
|
||||
public void setDefaultMaxPendingPersists(int maxPendingPersists)
|
||||
{
|
||||
this.maxPendingPersists = maxPendingPersists;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Plumber findPlumber(final Schema schema, final FireDepartmentMetrics metrics)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue