From 7c076e3d33bd1cde1f9b3843c031c84bee86785a Mon Sep 17 00:00:00 2001 From: asomers Date: Mon, 12 Sep 2016 16:55:16 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@305746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/periodic/daily/480.leapfile-ntpd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/periodic/daily/480.leapfile-ntpd b/etc/periodic/daily/480.leapfile-ntpd index 5a3cccead..8a3836427 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 -- 2.42.0