Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2016 16:36:45 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r305742 - stable/11/etc/periodic/daily
Message-ID:  <201609121636.u8CGajKm000647@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon Sep 12 16:36:44 2016
New Revision: 305742
URL: https://svnweb.freebsd.org/changeset/base/305742

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/11/etc/periodic/daily/480.leapfile-ntpd
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/etc/periodic/daily/480.leapfile-ntpd
==============================================================================
--- stable/11/etc/periodic/daily/480.leapfile-ntpd	Mon Sep 12 16:28:32 2016	(r305741)
+++ stable/11/etc/periodic/daily/480.leapfile-ntpd	Mon Sep 12 16:36:44 2016	(r305742)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609121636.u8CGajKm000647>