]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Mon, 19 Aug 2013 04:15:30 +0000 (21:15 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 19 Aug 2013 04:15:30 +0000 (21:15 -0700)
Hardcoded number of queues was leftover from preliminary
work. Use connection_pool_queues.

servers/slapd/init.c

index 26dacd7bd3ae1677b96823cf6ffc92a9fe711e54..79271d081bc24d7967d1d00a3612041ae945caf9 100644 (file)
@@ -137,7 +137,7 @@ slap_init( int mode, const char *name )
                slap_name = name;
 
                ldap_pvt_thread_pool_init_q( &connection_pool,
-                               connection_pool_max, 0, 4);
+                               connection_pool_max, 0, connection_pool_queues);
 
                slap_counters_init( &slap_counters );