From a6ea6828f30bea098053e24cf457f0ffdac6e6a7 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 24 Oct 2017 16:04:25 +1300 Subject: [PATCH] gpoupdate: Correct comment about hard-coded 5 second runing of the script Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- source4/dsdb/gpo/gpo_update.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source4/dsdb/gpo/gpo_update.c b/source4/dsdb/gpo/gpo_update.c index ef0f3ff218c..642806b235f 100644 --- a/source4/dsdb/gpo/gpo_update.c +++ b/source4/dsdb/gpo/gpo_update.c @@ -94,7 +94,10 @@ static void gpoupdate_sysvscan_handler_te(struct tevent_context *ev, 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), -- 2.47.3