mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
ITS#3793 don't init thread pool in tool mode
This commit is contained in:
parent
21e49339b7
commit
9ec474db25
1 changed files with 4 additions and 4 deletions
|
|
@ -103,18 +103,18 @@ slap_init( int mode, const char *name )
|
|||
|
||||
switch ( slapMode & SLAP_MODE ) {
|
||||
case SLAP_SERVER_MODE:
|
||||
ldap_pvt_thread_pool_init( &connection_pool,
|
||||
connection_pool_max, 0);
|
||||
|
||||
/* FALLTHRU */
|
||||
case SLAP_TOOL_MODE:
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"%s init: initiated %s.\n", name,
|
||||
(mode & SLAP_MODE) == SLAP_TOOL_MODE ? "tool" : "server",
|
||||
0 );
|
||||
|
||||
|
||||
slap_name = name;
|
||||
|
||||
ldap_pvt_thread_pool_init( &connection_pool,
|
||||
connection_pool_max, 0);
|
||||
|
||||
ldap_pvt_thread_mutex_init( &entry2str_mutex );
|
||||
ldap_pvt_thread_mutex_init( &replog_mutex );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue