gpoupdate: Correct comment about hard-coded 5 second runing of the script
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2017 03:04:25 +0000 (16:04 +1300)
committerGarming Sam <garming@samba.org>
Mon, 20 Nov 2017 20:41:14 +0000 (21:41 +0100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/dsdb/gpo/gpo_update.c

index ef0f3ff218c5c90cc97ee062f2aca5c284070249..642806b235f3d18e61e5311d2b4ab5b3fbbd3d46 100644 (file)
@@ -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),