Author: asomers
Date: Mon Sep 12 16:55:16 2016
New Revision: 305746
URL: https://svnweb.freebsd.org/changeset/base/305746

Log:
  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.

Modified:
  stable/10/etc/periodic/daily/480.leapfile-ntpd
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/periodic/daily/480.leapfile-ntpd
==============================================================================
--- stable/10/etc/periodic/daily/480.leapfile-ntpd      Mon Sep 12 16:46:14 
2016        (r305745)
+++ stable/10/etc/periodic/daily/480.leapfile-ntpd      Mon Sep 12 16:55:16 
2016        (r305746)
@@ -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
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to