1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

WL4189 Cap the autodetected parallelism value to 8

This commit is contained in:
Magnus Svensson
2008-09-15 17:09:27 +02:00
parent 588efe1216
commit 2f5e98264a

View File

@ -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");