Increase to 4 the default value for fixed capacity
This commit is contained in:
parent
30e353ddb9
commit
aa69bcf34c
@ -50,7 +50,7 @@ HostScheduler.prototype.getCapacityProvider = function(host) {
|
||||
}
|
||||
}
|
||||
|
||||
var fixedCapacity = global.settings.batch_capacity_fixed_amount || 2;
|
||||
var fixedCapacity = global.settings.batch_capacity_fixed_amount || 4;
|
||||
debug('Using strategy=fixed capacity=%d', fixedCapacity);
|
||||
return new FixedCapacity(fixedCapacity);
|
||||
};
|
||||
|
@ -41,8 +41,8 @@ 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;
|
||||
// Default 4.
|
||||
module.exports.batch_capacity_fixed_amount = 4;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
// Helps to decide the number of simultaneous users running queries in that host.
|
||||
|
@ -42,8 +42,8 @@ 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;
|
||||
// Default 4.
|
||||
module.exports.batch_capacity_fixed_amount = 4;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
// Helps to decide the number of simultaneous users running queries in that host.
|
||||
|
@ -42,8 +42,8 @@ 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;
|
||||
// Default 4.
|
||||
module.exports.batch_capacity_fixed_amount = 4;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
// Helps to decide the number of simultaneous users running queries in that host.
|
||||
|
@ -39,8 +39,8 @@ 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;
|
||||
// Default 4.
|
||||
module.exports.batch_capacity_fixed_amount = 4;
|
||||
// Applies when strategy='http-simple' or strategy='http-load'.
|
||||
// HTTP endpoint to check db host load.
|
||||
// Helps to decide the number of simultaneous users running queries in that host.
|
||||
|
Loading…
Reference in New Issue
Block a user