summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2016-09-12 16:36:44 +0000
committerasomers <asomers@FreeBSD.org>2016-09-12 16:36:44 +0000
commit1b175a7ae733dc8fcef0b2b7e1ce400bd257cea0 (patch)
treec32176c190089e4d4482627156df474f78a752dc /etc
parenta7a49e00771c003c9d25e5091aab43d1edd68afb (diff)
downloadFreeBSD-src-1b175a7ae733dc8fcef0b2b7e1ce400bd257cea0.zip
FreeBSD-src-1b175a7ae733dc8fcef0b2b7e1ce400bd257cea0.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.
Diffstat (limited to 'etc')
-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