From fd190659a71188b9b84eea549275752ae430c755 Mon Sep 17 00:00:00 2001 From: Rein Tollevik Date: Mon, 29 Sep 2008 20:01:40 +0000 Subject: [PATCH] ITS#5719 Reset interval after rescheduling a paused task. --- servers/slapd/syncrepl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 30f4c63dc5..4ceabf64a3 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1354,6 +1354,7 @@ reload: if ( rc == SYNC_PAUSED ) { rtask->interval.tv_sec = 0; ldap_pvt_runqueue_resched( &slapd_rq, rtask, 0 ); + rtask->interval.tv_sec = si->si_interval; rc = 0; } else if ( rc == LDAP_SUCCESS ) { if ( si->si_type == LDAP_SYNC_REFRESH_ONLY ) { -- 2.39.5