mirror of
https://github.com/apache/druid.git
synced 2025-02-26 04:55:24 +00:00
fix defaults
This commit is contained in:
parent
627447c6f8
commit
b3eb4cc5da
@ -38,7 +38,7 @@ public class PriorityTieredBrokerSelectorStrategy implements TieredBrokerSelecto
|
||||
@JsonProperty("maxPriority") Integer maxPriority
|
||||
)
|
||||
{
|
||||
this.minPriority = minPriority == null ? 0 : minPriority;
|
||||
this.minPriority = minPriority == null ? 1 : 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(0, 0)
|
||||
new PriorityTieredBrokerSelectorStrategy(1, 1)
|
||||
);
|
||||
|
||||
// tier, <bard, numThreads>
|
||||
|
Loading…
x
Reference in New Issue
Block a user