Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
static NTSTATUS gpoupdate_sysvscan_schedule(struct gpoupdate_service *service)
{
- /* For the moment the interval is hard coded to 5 sec */
+ /*
+ * This is configured, default to 900 sec (15 mins) in
+ * gpoupdate_task_init via gpoupdate:config interval
+ */
service->sysvscan.te =
tevent_add_timer(service->task->event_ctx, service,
timeval_current_ofs(service->sysvscan.interval, 0),