From: Andrew Bartlett Date: Tue, 24 Oct 2017 03:04:25 +0000 (+1300) Subject: gpoupdate: Correct comment about hard-coded 5 second runing of the script X-Git-Tag: talloc-2.1.11~459 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6ea6828f30bea098053e24cf457f0ffdac6e6a7;p=thirdparty%2Fsamba.git gpoupdate: Correct comment about hard-coded 5 second runing of the script Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- 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),