summaryrefslogtreecommitdiff
path: root/user/chrony/max_resolve_interval.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/chrony/max_resolve_interval.patch')
-rw-r--r--user/chrony/max_resolve_interval.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/chrony/max_resolve_interval.patch b/user/chrony/max_resolve_interval.patch
new file mode 100644
index 000000000..6343d9122
--- /dev/null
+++ b/user/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
+@@ -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;