param: Use a higher time resolution for lp_file_list_changed()
commitf6bbd277dcb05b1d4a92aa7ee2dd5b2a0ed2ecc8
authorAndreas Schneider <asn@samba.org>
Tue, 24 Jan 2023 20:44:34 +0000 (24 21:44 +0100)
committerJule Anger <janger@samba.org>
Fri, 10 Feb 2023 10:52:15 +0000 (10 10:52 +0000)
treec1c756713d12baae79d409aef5fa3f84ad0e1399
parent0853cda5d927fd44edf12e8db3ccb97a17648fa8
param: Use a higher time resolution for lp_file_list_changed()

It is possible that in our test environment one of the config 'include' files
change more than once per second. To avoid missing a file update we use a
higher time resolution than seconds.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15301

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit ac0e844ea87be7974ba6ff81745b3b0cfeecaa57)
lib/param/loadparm.c
lib/param/loadparm.h
source3/param/loadparm.c