]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Change default maxclockerror to 1 ppm
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 11 Apr 2011 15:54:01 +0000 (17:54 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 11 Apr 2011 15:54:01 +0000 (17:54 +0200)
chrony.texi
conf.c

index e4c56e3c53ff66e8fe4aa28ad2ddeb77f30259ae..c86ba312d0ebb5ebe0111bfccf2f33f4b3d1a46d 100644 (file)
@@ -2231,7 +2231,7 @@ The @code{maxclockerror} directive sets the maximum assumed frequency
 error of the local clock.  This is a frequency stability of the clock,
 not an absolute frequency error.
 
-By default, the maximum assumed error is set to 10 ppm.
+By default, the maximum assumed error is set to 1 ppm.
 
 The syntax is
 
diff --git a/conf.c b/conf.c
index 2667d2bbc78c0b732c3fbbb5d56fdf57d18b0352..187f1e359c6d50c4386bd1e9da88c514d1b46c6a 100644 (file)
--- a/conf.c
+++ b/conf.c
@@ -120,7 +120,7 @@ static char *drift_file = NULL;
 static char *rtc_file = NULL;
 static unsigned long command_key_id;
 static double max_update_skew = 1000.0;
-static double max_clock_error = 10; /* in ppm */
+static double max_clock_error = 1.0; /* in ppm */
 
 static double reselect_distance = 1e-4;
 static double stratum_weight = 1.0;