mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 05:30:07 -05:00
ITS#3344: initialize threads early
This commit is contained in:
parent
292c568f36
commit
f0190506f1
2 changed files with 2 additions and 2 deletions
|
|
@ -113,8 +113,6 @@ slap_init( int mode, const char *name )
|
|||
|
||||
slap_name = name;
|
||||
|
||||
(void) ldap_pvt_thread_initialize();
|
||||
|
||||
ldap_pvt_thread_pool_init( &connection_pool,
|
||||
connection_pool_max, 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -501,6 +501,8 @@ unhandled_option:;
|
|||
}
|
||||
}
|
||||
|
||||
(void) ldap_pvt_thread_initialize();
|
||||
|
||||
lutil_set_debug_level( "slapd", slap_debug );
|
||||
ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug);
|
||||
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug);
|
||||
|
|
|
|||
Loading…
Reference in a new issue