]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Rename listener-threads to reflect the option
authorOndřej Kuzník <ondra@mistotebe.net>
Tue, 13 Jun 2017 18:27:50 +0000 (19:27 +0100)
committerOndřej Kuzník <okuznik@symas.com>
Tue, 17 Nov 2020 17:55:46 +0000 (17:55 +0000)
doc/man/man5/lloadd.conf.5
servers/lloadd/config.c

index e26d7319f9d185336665432ecb03b056b030dde8..7a6f96ccc4a18c05c0dd242b64277548aa42cb33 100644 (file)
@@ -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.
index 139f9da9e45468920b2d83e63d5b4b876307db07..96571c6322c00ba6fe134b49719c2b4d31cb0556 100644 (file)
@@ -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 ) {