{
NTSTATUS status;
+ status = wreplsrv_out_pull_run(service);
+ NT_STATUS_NOT_OK_RETURN(status);
+
status = wreplsrv_out_push_run(service);
NT_STATUS_NOT_OK_RETURN(status);
/* prevent looping */
if (next_interval == 0) next_interval = 1;
- next_time = timeval_current_ofs(next_interval, 0);
+ next_time = timeval_current_ofs(next_interval, 5000);
if (service->periodic.te) {
/*
{
NTSTATUS status;
- /*
- * TODO: this should go away, and we should do everything
- * within the wreplsrv_periodic_run()
- */
- status = wreplsrv_setup_out_connections(service);
- NT_STATUS_NOT_OK_RETURN(status);
-
status = wreplsrv_periodic_schedule(service, 0);
NT_STATUS_NOT_OK_RETURN(status);