Default to 2 jobs in fixed capacity.
This commit is contained in:
parent
66cc137d04
commit
19def2f31e
@ -50,7 +50,7 @@ HostScheduler.prototype.getCapacityProvider = function(host) {
|
||||
}
|
||||
}
|
||||
|
||||
var fixedCapacity = global.settings.batch_capacity_fixed_amount || 1;
|
||||
var fixedCapacity = global.settings.batch_capacity_fixed_amount || 2;
|
||||
debug('Using strategy=fixed capacity=%d', fixedCapacity);
|
||||
return new FixedCapacity(fixedCapacity);
|
||||
};
|
||||
|
@ -41,6 +41,7 @@ module.exports.batch_capacity_strategy = 'fixed';
|
||||
// Applies when strategy='fixed'.
|
||||
// Number of simultaneous users running queries in the same host.
|
||||
// It will use 1 as min.
|
||||
// Default 2.
|
||||
module.exports.batch_capacity_fixed_amount = 2;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
|
@ -42,6 +42,7 @@ module.exports.batch_capacity_strategy = 'fixed';
|
||||
// Applies when strategy='fixed'.
|
||||
// Number of simultaneous users running queries in the same host.
|
||||
// It will use 1 as min.
|
||||
// Default 2.
|
||||
module.exports.batch_capacity_fixed_amount = 2;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
|
@ -42,6 +42,7 @@ module.exports.batch_capacity_strategy = 'fixed';
|
||||
// Applies when strategy='fixed'.
|
||||
// Number of simultaneous users running queries in the same host.
|
||||
// It will use 1 as min.
|
||||
// Default 2.
|
||||
module.exports.batch_capacity_fixed_amount = 2;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
|
@ -39,6 +39,7 @@ module.exports.batch_capacity_strategy = 'fixed';
|
||||
// Applies when strategy='fixed'.
|
||||
// Number of simultaneous users running queries in the same host.
|
||||
// It will use 1 as min.
|
||||
// Default 2.
|
||||
module.exports.batch_capacity_fixed_amount = 2;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
|
Loading…
Reference in New Issue
Block a user