summaryrefslogtreecommitdiff
path: root/user/chrony/max_resolve_interval.patch
blob: 6343d912235b31cbf841f7c556b5b5841273cfe8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
Try fix behaviour when network is not available at bootup

--- ./ntp_sources.c.orig
+++ ./ntp_sources.c
@@ -87,7 +85,7 @@
 
 #define RESOLVE_INTERVAL_UNIT 7
 #define MIN_RESOLVE_INTERVAL 2
-#define MAX_RESOLVE_INTERVAL 9
+#define MAX_RESOLVE_INTERVAL 6
 #define MIN_REPLACEMENT_INTERVAL 8
 
 static struct UnresolvedSource *unresolved_sources = NULL;