svn commit: r304162 - head/etc/periodic/daily

Alan Somers asomers at FreeBSD.org
Mon Aug 15 14:58:27 UTC 2016


Author: asomers
Date: Mon Aug 15 14:58:25 2016
New Revision: 304162
URL: https://svnweb.freebsd.org/changeset/base/304162

Log:
  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.
  
  Reviewed by:	cy
  MFC after:	4 weeks
  Sponsored by:	Spectra Logic Corp
  Differential Revision:	https://reviews.freebsd.org/D7481

Modified:
  head/etc/periodic/daily/480.leapfile-ntpd

Modified: head/etc/periodic/daily/480.leapfile-ntpd
==============================================================================
--- head/etc/periodic/daily/480.leapfile-ntpd	Mon Aug 15 14:28:16 2016	(r304161)
+++ head/etc/periodic/daily/480.leapfile-ntpd	Mon Aug 15 14:58:25 2016	(r304162)
@@ -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


More information about the svn-src-head mailing list