Commit 3fa8a0cd authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Ondřej Kuzník
Browse files

Rename listener-threads to reflect the option

parent 0a075905
......@@ -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 <integer>
.B io-threads <integer>
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.
......
......@@ -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 ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment