From: Rein Tollevik Date: Mon, 29 Sep 2008 20:01:40 +0000 (+0000) Subject: ITS#5719 Reset interval after rescheduling a paused task. X-Git-Tag: ACLCHECK_0~1306 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fd190659a71188b9b84eea549275752ae430c755;p=openldap ITS#5719 Reset interval after rescheduling a paused task. --- 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 ) {