mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -05:00
Rename listener-threads to reflect the option
This commit is contained in:
parent
0a075905a1
commit
3fa8a0cdf2
2 changed files with 5 additions and 5 deletions
|
|
@ -125,7 +125,7 @@ the proxy authorization control (RFC 4370).
|
||||||
Read additional configuration information from the given file before
|
Read additional configuration information from the given file before
|
||||||
continuing with the next line of the current file.
|
continuing with the next line of the current file.
|
||||||
.TP
|
.TP
|
||||||
.B listener-threads <integer>
|
.B io-threads <integer>
|
||||||
Specify the number of threads to use for the connection manager.
|
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 default is 1 and this is typically adequate for up to 16 CPU cores.
|
||||||
The value should be set to a power of 2.
|
The value should be set to a power of 2.
|
||||||
|
|
|
||||||
|
|
@ -135,7 +135,7 @@ enum {
|
||||||
CFG_THREADS,
|
CFG_THREADS,
|
||||||
CFG_LOGFILE,
|
CFG_LOGFILE,
|
||||||
CFG_MIRRORMODE,
|
CFG_MIRRORMODE,
|
||||||
CFG_LTHREADS,
|
CFG_IOTHREADS,
|
||||||
CFG_THREADQS,
|
CFG_THREADQS,
|
||||||
CFG_TLS_ECNAME,
|
CFG_TLS_ECNAME,
|
||||||
CFG_TLS_CACERT,
|
CFG_TLS_CACERT,
|
||||||
|
|
@ -183,8 +183,8 @@ static ConfigTable config_back_cf_table[] = {
|
||||||
ARG_MAGIC,
|
ARG_MAGIC,
|
||||||
&config_include,
|
&config_include,
|
||||||
},
|
},
|
||||||
{ "listener-threads", "count", 2, 0, 0,
|
{ "io-threads", "count", 2, 0, 0,
|
||||||
ARG_UINT|ARG_MAGIC|CFG_LTHREADS,
|
ARG_UINT|ARG_MAGIC|CFG_IOTHREADS,
|
||||||
&config_generic,
|
&config_generic,
|
||||||
},
|
},
|
||||||
{ "logfile", "file", 2, 2, 0,
|
{ "logfile", "file", 2, 2, 0,
|
||||||
|
|
@ -418,7 +418,7 @@ config_generic( ConfigArgs *c )
|
||||||
connection_pool_queues = c->value_int; /* save for reference */
|
connection_pool_queues = c->value_int; /* save for reference */
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CFG_LTHREADS: {
|
case CFG_IOTHREADS: {
|
||||||
int mask = 0;
|
int mask = 0;
|
||||||
/* use a power of two */
|
/* use a power of two */
|
||||||
while ( c->value_uint > 1 ) {
|
while ( c->value_uint > 1 ) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue