diff --git a/servers/slapd/result.c b/servers/slapd/result.c index 9d1ed0e34a..c3e3861590 100644 --- a/servers/slapd/result.c +++ b/servers/slapd/result.c @@ -743,14 +743,12 @@ slap_send_search_entry( Operation *op, SlapReply *rs ) return LDAP_SIZELIMIT_EXCEEDED; } -#ifndef NO_THREADS /* Every 64 entries, check for thread pool pause */ if (( rs->sr_nentries & 0x3f == 0x3f ) && ldap_pvt_thread_pool_query( &connection_pool, LDAP_PVT_THREAD_POOL_PARAM_PAUSING, &i ) == 0 && i ) { return LDAP_BUSY; } -#endif rs->sr_type = REP_SEARCH;