diff --git a/doc/man/man5/lloadd.conf.5 b/doc/man/man5/lloadd.conf.5 index e26d7319f9..7a6f96ccc4 100644 --- a/doc/man/man5/lloadd.conf.5 +++ b/doc/man/man5/lloadd.conf.5 @@ -125,7 +125,7 @@ the proxy authorization control (RFC 4370). Read additional configuration information from the given file before continuing with the next line of the current file. .TP -.B listener-threads +.B io-threads Specify the number of threads to use for the connection manager. The default is 1 and this is typically adequate for up to 16 CPU cores. The value should be set to a power of 2. diff --git a/servers/lloadd/config.c b/servers/lloadd/config.c index 139f9da9e4..96571c6322 100644 --- a/servers/lloadd/config.c +++ b/servers/lloadd/config.c @@ -135,7 +135,7 @@ enum { CFG_THREADS, CFG_LOGFILE, CFG_MIRRORMODE, - CFG_LTHREADS, + CFG_IOTHREADS, CFG_THREADQS, CFG_TLS_ECNAME, CFG_TLS_CACERT, @@ -183,8 +183,8 @@ static ConfigTable config_back_cf_table[] = { ARG_MAGIC, &config_include, }, - { "listener-threads", "count", 2, 0, 0, - ARG_UINT|ARG_MAGIC|CFG_LTHREADS, + { "io-threads", "count", 2, 0, 0, + ARG_UINT|ARG_MAGIC|CFG_IOTHREADS, &config_generic, }, { "logfile", "file", 2, 2, 0, @@ -418,7 +418,7 @@ config_generic( ConfigArgs *c ) connection_pool_queues = c->value_int; /* save for reference */ break; - case CFG_LTHREADS: { + case CFG_IOTHREADS: { int mask = 0; /* use a power of two */ while ( c->value_uint > 1 ) {