diff options
Diffstat (limited to 'source4/dsdb/repl/drepl_service.h')
-rw-r--r-- | source4/dsdb/repl/drepl_service.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_service.h b/source4/dsdb/repl/drepl_service.h index 6daf82d9f4..edba4c4a49 100644 --- a/source4/dsdb/repl/drepl_service.h +++ b/source4/dsdb/repl/drepl_service.h @@ -187,6 +187,23 @@ struct dreplsrv_service { struct tevent_timer *te; } periodic; + /* some stuff for running only the pendings ops */ + struct { + /* + * the interval between notify runs + */ + uint32_t interval; + + /* + * the timestamp for the next event, + * this is the timstamp passed to event_add_timed() + */ + struct timeval next_event; + + /* here we have a reference to the timed event the schedules the notifies */ + struct tevent_timer *te; + } pending; + /* some stuff for notify processing */ struct { /* |