Invalid thread argument now results in shutdown.

This is done to avoid situations where the loaded configuration doesn't
match the contents of maxscale.cnf.
This commit is contained in:
Markus Makela
2015-11-02 11:45:03 +02:00
parent 529e697eaf
commit 0d8faa6840

View File

@ -1562,8 +1562,8 @@ int i;
}
else
{
skygw_log_write(LE, "Warning: Invalid value for 'threads': %d. Using default "
"number of %d threads.", thrcount, gateway.n_threads);
skygw_log_write(LE, "Warning: Invalid value for 'threads': %s.", value);
return 0;
}
}
else if (strcmp(name, "non_blocking_polls") == 0)