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
|
else
|
||||||
{
|
{
|
||||||
skygw_log_write(LE, "Warning: Invalid value for 'threads': %d. Using default "
|
skygw_log_write(LE, "Warning: Invalid value for 'threads': %s.", value);
|
||||||
"number of %d threads.", thrcount, gateway.n_threads);
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (strcmp(name, "non_blocking_polls") == 0)
|
else if (strcmp(name, "non_blocking_polls") == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user