From: Miroslav Lichvar Date: Fri, 23 Apr 2010 10:53:26 +0000 (+0200) Subject: Set maxupdateskew to 1000 ppm by default X-Git-Tag: 1.25-pre1~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ab68a9d1d382d42913e040e3240c587cc398e83f;p=thirdparty%2Fchrony.git Set maxupdateskew to 1000 ppm by default This will prevent from using unreliable frequency estimate on iburst when starting without drift file. --- diff --git a/chrony.texi b/chrony.texi index 7c8eeec5..f9980f13 100644 --- a/chrony.texi +++ b/chrony.texi @@ -2207,6 +2207,7 @@ loss rate is not very reliable. The @code{maxupdateskew} parameter allows the threshold for determining whether an estimate may be so unreliable that it should not be used. +By default, the threshold is 1000 ppm. The syntax is diff --git a/conf.c b/conf.c index dd8940b3..6cae4742 100644 --- a/conf.c +++ b/conf.c @@ -117,7 +117,7 @@ static char *keys_file = NULL; static char *drift_file = NULL; static char *rtc_file = NULL; static unsigned long command_key_id; -static double max_update_skew = DBL_MAX; +static double max_update_skew = 1000.0; static int cmd_port = -1;