aboutsummaryrefslogtreecommitdiffstats
path: root/main/chrony/max_resolve_interval.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/chrony/max_resolve_interval.patch')
-rw-r--r--main/chrony/max_resolve_interval.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/chrony/max_resolve_interval.patch b/main/chrony/max_resolve_interval.patch
new file mode 100644
index 0000000000..53026e71a9
--- /dev/null
+++ b/main/chrony/max_resolve_interval.patch
@@ -0,0 +1,13 @@
+Try fix behaviour when network is not available at bootup
+
+--- ./ntp_sources.c.orig
++++ ./ntp_sources.c
+@@ -76,7 +76,7 @@
+
+ #define RESOLVE_INTERVAL_UNIT 7
+ #define MIN_RESOLVE_INTERVAL 2
+-#define MAX_RESOLVE_INTERVAL 9
++#define MAX_RESOLVE_INTERVAL 6
+
+ static struct UnresolvedSource *unresolved_sources = NULL;
+ static int resolving_interval = 0;