Fixed threads=auto
not working
The name of the parameter was compared to `auto` instead of the value.
This commit is contained in:
parent
5f993f0b60
commit
0ddb81ea16
@ -884,7 +884,7 @@ handle_global_item(const char *name, const char *value)
|
||||
int i;
|
||||
if (strcmp(name, "threads") == 0)
|
||||
{
|
||||
if (strcmp(name, "auto") == 0)
|
||||
if (strcmp(value, "auto") == 0)
|
||||
{
|
||||
if ((gateway.n_threads = get_processor_count()) > 1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user