1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

gpoupdate: Correct comment about hard-coded 5 second runing of the script

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2017-10-24 16:04:25 +13:00 committed by Garming Sam
parent 2e432ef21e
commit a6ea6828f3

View 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),