File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ HostScheduler.prototype.getCapacityProvider = function(host) {
50
50
}
51
51
}
52
52
53
- var fixedCapacity = global . settings . batch_capacity_fixed_amount || 2 ;
53
+ var fixedCapacity = global . settings . batch_capacity_fixed_amount || 4 ;
54
54
debug ( 'Using strategy=fixed capacity=%d' , fixedCapacity ) ;
55
55
return new FixedCapacity ( fixedCapacity ) ;
56
56
} ;
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ module.exports.batch_capacity_strategy = 'fixed';
41
41
// Applies when strategy='fixed'.
42
42
// Number of simultaneous users running queries in the same host.
43
43
// It will use 1 as min.
44
- // Default 2 .
45
- module.exports.batch_capacity_fixed_amount = 2 ;
44
+ // Default 4 .
45
+ module.exports.batch_capacity_fixed_amount = 4 ;
46
46
// Applies when strategy='http-simple' or strategy='http-load'.
47
47
// HTTP endpoint to check db host load.
48
48
// Helps to decide the number of simultaneous users running queries in that host.
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ module.exports.batch_capacity_strategy = 'fixed';
42
42
// Applies when strategy='fixed'.
43
43
// Number of simultaneous users running queries in the same host.
44
44
// It will use 1 as min.
45
- // Default 2 .
46
- module.exports.batch_capacity_fixed_amount = 2 ;
45
+ // Default 4 .
46
+ module.exports.batch_capacity_fixed_amount = 4 ;
47
47
// Applies when strategy='http-simple' or strategy='http-load'.
48
48
// HTTP endpoint to check db host load.
49
49
// Helps to decide the number of simultaneous users running queries in that host.
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ module.exports.batch_capacity_strategy = 'fixed';
42
42
// Applies when strategy='fixed'.
43
43
// Number of simultaneous users running queries in the same host.
44
44
// It will use 1 as min.
45
- // Default 2 .
46
- module.exports.batch_capacity_fixed_amount = 2 ;
45
+ // Default 4 .
46
+ module.exports.batch_capacity_fixed_amount = 4 ;
47
47
// Applies when strategy='http-simple' or strategy='http-load'.
48
48
// HTTP endpoint to check db host load.
49
49
// Helps to decide the number of simultaneous users running queries in that host.
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ module.exports.batch_capacity_strategy = 'fixed';
39
39
// Applies when strategy='fixed'.
40
40
// Number of simultaneous users running queries in the same host.
41
41
// It will use 1 as min.
42
- // Default 2 .
43
- module.exports.batch_capacity_fixed_amount = 2 ;
42
+ // Default 4 .
43
+ module.exports.batch_capacity_fixed_amount = 4 ;
44
44
// Applies when strategy='http-simple' or strategy='http-load'.
45
45
// HTTP endpoint to check db host load.
46
46
// Helps to decide the number of simultaneous users running queries in that host.
You can’t perform that action at this time.
0 commit comments