mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Don't flush psearch queue in main search, let the qtask do it.
This commit is contained in:
parent
59155d9029
commit
0f69daacac
@ -1815,13 +1815,6 @@ syncprov_search_response( Operation *op, SlapReply *rs )
|
||||
syncprov_sendinfo( op, rs, ( ss->ss_present && rs->sr_nentries ) ?
|
||||
LDAP_TAG_SYNC_REFRESH_PRESENT : LDAP_TAG_SYNC_REFRESH_DELETE,
|
||||
&cookie, 1, NULL, 0 );
|
||||
/* Flush any queued persist messages */
|
||||
if ( ss->ss_so->s_res ) {
|
||||
slap_callback *sc = op->o_callback;
|
||||
op->o_callback = NULL;
|
||||
syncprov_qplay( op, on, ss->ss_so );
|
||||
op->o_callback = sc;
|
||||
}
|
||||
|
||||
/* Detach this Op from frontend control */
|
||||
ldap_pvt_thread_mutex_lock( &ss->ss_so->s_mutex );
|
||||
|
Loading…
Reference in New Issue
Block a user