Commit 93d20459 authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

Make io-threads modification startup-only

parent db3961f4
...@@ -842,9 +842,16 @@ config_generic( ConfigArgs *c ) ...@@ -842,9 +842,16 @@ config_generic( ConfigArgs *c )
mask <<= 1; mask <<= 1;
mask |= 1; mask |= 1;
} }
lload_daemon_mask = mask; if ( !lloadd_inited ) {
lload_daemon_threads = mask + 1; lload_daemon_mask = mask;
flag = LLOAD_DAEMON_MOD_THREADS; 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; } break;
case CFG_LOGFILE: { case CFG_LOGFILE: {
......
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