mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
ITS#5197 fully revert prev commit, use thr_stub
This commit is contained in:
parent
9bc4ebd12c
commit
b9f012377a
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue