Reduce the number of concurrent recoveries per node to 2 from number_of_processors, closes #543.
This commit is contained in:
parent
992b37b8fb
commit
6d9576c217
|
@ -36,7 +36,7 @@ public class ThrottlingNodeAllocation extends NodeAllocation {
|
|||
@Inject public ThrottlingNodeAllocation(Settings settings) {
|
||||
super(settings);
|
||||
|
||||
this.concurrentRecoveries = componentSettings.getAsInt("concurrent_recoveries", Runtime.getRuntime().availableProcessors() + 1);
|
||||
this.concurrentRecoveries = componentSettings.getAsInt("concurrent_recoveries", 2);
|
||||
}
|
||||
|
||||
@Override public Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation) {
|
||||
|
|
Loading…
Reference in New Issue