diff options
-rw-r--r-- | source4/dsdb/repl/drepl_service.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_service.c b/source4/dsdb/repl/drepl_service.c index f4364afeeb..9248c83111 100644 --- a/source4/dsdb/repl/drepl_service.c +++ b/source4/dsdb/repl/drepl_service.c @@ -324,8 +324,11 @@ static NTSTATUS drepl_replica_sync(struct irpc_message *msg, /* if we got here, everything is OK */ r->out.result = WERR_OK; - /* force execution of scheduled replications */ - dreplsrv_run_pending_ops(service); + /* + * schedule replication event to force + * replication as soon as possible + */ + dreplsrv_periodic_schedule(service, 0); done: return NT_STATUS_OK; |