mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-11 13:50:39 +08:00
ITS#5719 Reset interval after rescheduling a paused task.
This commit is contained in:
parent
9be58de517
commit
fd190659a7
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user