summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2016-09-12 16:55:16 +0000
committerasomers <asomers@FreeBSD.org>2016-09-12 16:55:16 +0000
commit438ab6eea81607aa4d18d075c7f81289b8ebab5c (patch)
treeb7fe67aa5228ab485ce85344e160313778a76637
parent9a6fa1e8fe178417ef374cb50526fa2f89692510 (diff)
downloadFreeBSD-src-438ab6eea81607aa4d18d075c7f81289b8ebab5c.zip
FreeBSD-src-438ab6eea81607aa4d18d075c7f81289b8ebab5c.tar.gz
MFC r304162
Decrease the anti-congestion sleep in 480.leapfile-ntpd to 1 hour 24 hours is too long. Periodic scripts are executed serially, so when combined with the sleep in 410.pkg-audit periodic could actually take more than 24 hours and block the next invocation.
-rwxr-xr-xetc/periodic/daily/480.leapfile-ntpd2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/480.leapfile-ntpd b/etc/periodic/daily/480.leapfile-ntpd
index 5a3ccce..8a38364 100755
--- a/etc/periodic/daily/480.leapfile-ntpd
+++ b/etc/periodic/daily/480.leapfile-ntpd
@@ -16,7 +16,7 @@ case "$daily_ntpd_leapfile_enable" in
case "$daily_ntpd_avoid_congestion" in
[Yy][Ee][Ss])
# Avoid dogpiling
- (sleep $(jot -r 1 0 86400); service ntpd onefetch) &
+ (sleep $(jot -r 1 0 3600); service ntpd onefetch) &
;;
*)
service ntpd onefetch
OpenPOWER on IntegriCloud