gpoupdate: Correct comment about hard-coded 5 second runing of the script
[nivanova/samba-autobuild/.git] / 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),