mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#3344: initialize threads early
This commit is contained in:
parent
292c568f36
commit
f0190506f1
@ -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 New Issue
Block a user