mirror of https://github.com/apache/druid.git
fix bad defaults
This commit is contained in:
parent
d4cf2763ac
commit
f1409f751a
|
@ -38,7 +38,7 @@ public class PriorityTieredBrokerSelectorStrategy implements TieredBrokerSelecto
|
|||
@JsonProperty("maxPriority") Integer maxPriority
|
||||
)
|
||||
{
|
||||
this.minPriority = minPriority == null ? 1 : minPriority;
|
||||
this.minPriority = minPriority == null ? 0 : minPriority;
|
||||
this.maxPriority = maxPriority == null ? 1 : maxPriority;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ public class TieredBrokerConfig
|
|||
@NotNull
|
||||
private List<TieredBrokerSelectorStrategy> strategies = Arrays.asList(
|
||||
new TimeBoundaryTieredBrokerSelectorStrategy(),
|
||||
new PriorityTieredBrokerSelectorStrategy(1, 1)
|
||||
new PriorityTieredBrokerSelectorStrategy(0, 1)
|
||||
);
|
||||
|
||||
// tier, <bard, numThreads>
|
||||
|
|
Loading…
Reference in New Issue