mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Make io-threads modification startup-only
This commit is contained in:
parent
db3961f489
commit
93d20459f1
1 changed files with 10 additions and 3 deletions
|
|
@ -842,9 +842,16 @@ config_generic( ConfigArgs *c )
|
|||
mask <<= 1;
|
||||
mask |= 1;
|
||||
}
|
||||
lload_daemon_mask = mask;
|
||||
lload_daemon_threads = mask + 1;
|
||||
flag = LLOAD_DAEMON_MOD_THREADS;
|
||||
if ( !lloadd_inited ) {
|
||||
lload_daemon_mask = mask;
|
||||
lload_daemon_threads = mask + 1;
|
||||
flag = LLOAD_DAEMON_MOD_THREADS;
|
||||
} else {
|
||||
snprintf( c->cr_msg, sizeof(c->cr_msg),
|
||||
"io thread changes will not take effect until "
|
||||
"restart" );
|
||||
Debug( LDAP_DEBUG_ANY, "%s: %s\n", c->log, c->cr_msg );
|
||||
}
|
||||
} break;
|
||||
|
||||
case CFG_LOGFILE: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue