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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user