We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bb705 commit b8224beCopy full SHA for b8224be
1 file changed
mysqltuner.pl
@@ -5182,12 +5182,12 @@ sub mariadb_galera {
5182
5183
infoprint "CPU core detected : ". (cpu_cores);
5184
infoprint "wsrep_slave_threads: ". get_wsrep_option('wsrep_slave_threads');
5185
- if ( get_wsrep_option('wsrep_slave_threads') > (cpu_cores) * 4
5186
- or get_wsrep_option('wsrep_slave_threads') < (cpu_cores) * 2 )
+ if ( get_wsrep_option('wsrep_slave_threads') > ((cpu_cores) * 4)
+ or get_wsrep_option('wsrep_slave_threads') < ((cpu_cores) * 2) )
5187
{
5188
badprint
5189
"wsrep_slave_threads is not equal to 2, 3 or 4 times number of CPU(s)";
5190
- push @adjvars, "wsrep_slave_threads = ".(cpu_cores * 4);
+ push @adjvars, "wsrep_slave_threads = ".((cpu_cores) * 4);
5191
}
5192
else {
5193
goodprint
0 commit comments