← Commit list

73c67d75e

Michael Glembotzki
Michael Glembotzki
2025-07-01
SUCCESS Duration: 160s

Subject

ntpd: Raise MAXDIST to 3s for better tolerance and consistency with chrony

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ntpd.c+1 -1
@@ -205,7 +205,7 @@
#define MINDISP 0.01 /* minimum dispersion (sec) */
#define MAXDISP 16 /* maximum dispersion (sec) */
#define MAXSTRAT 16 /* maximum stratum (infinity metric) */
-#define MAXDIST 1 /* distance threshold (sec) */
+#define MAXDIST 3 /* distance threshold (sec): do not use peers who are farther away */
#define MIN_SELECTED 1 /* minimum intersection survivors */
#define MIN_CLUSTERED 3 /* minimum cluster survivors */