summaryrefslogtreecommitdiffstats
path: root/main/chrony/max_resolve_interval.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-04 07:08:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-04 07:09:02 +0000
commit62a9ea4aaff7f6fdf87a1230f20cc022101f77aa (patch)
tree22346598e7df850665c2f22ba7ca12bc5179e1b7 /main/chrony/max_resolve_interval.patch
parent7e66bf2685f0a64d5b240ea72e897f5cdb60795e (diff)
downloadaports-62a9ea4aaff7f6fdf87a1230f20cc022101f77aa.tar.bz2
aports-62a9ea4aaff7f6fdf87a1230f20cc022101f77aa.tar.xz
main/chrony: upgrade to 1.30
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 000000000..53026e71a
--- /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;