From 0f69daacac0c856e698f058bc22e1061ff4fe768 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 4 Oct 2005 02:29:25 +0000 Subject: [PATCH] Don't flush psearch queue in main search, let the qtask do it. --- servers/slapd/overlays/syncprov.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index b3951f01e0..4316dd042d 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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 ); -- 2.39.5