mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
WL4189 Cap the autodetected parallelism value to 8
This commit is contained in:
parent
588efe1216
commit
2f5e98264a
1 changed files with 1 additions and 0 deletions
|
@ -279,6 +279,7 @@ sub main {
|
|||
for my $limit (2000, 1500, 1000, 500){
|
||||
$opt_parallel-- if ($sys_info->min_bogomips() < $limit);
|
||||
}
|
||||
$opt_parallel= 8 if ($opt_parallel > 8);
|
||||
$opt_parallel= $num_tests if ($opt_parallel > $num_tests);
|
||||
$opt_parallel= 1 if ($opt_parallel < 1);
|
||||
mtr_report("Using parallel: $opt_parallel");
|
||||
|
|
Loading…
Add table
Reference in a new issue