[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.6-31-g5789afc
by Werner Koch
cvs at cvs.gnupg.org
Thu Apr 26 12:50:19 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, STABLE-BRANCH-2-2 has been updated
via 5789afc840cf79ba2a8cebd9d772ef9c3868c5e9 (commit)
from cc66108253c58583d6bad3d1e2da2b004701d0f0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5789afc840cf79ba2a8cebd9d772ef9c3868c5e9
Author: Werner Koch <wk at gnupg.org>
Date: Thu Apr 26 12:39:59 2018 +0200
dirmngr: Lower the dead host resurrection time to 1.5h
* dirmngr/ks-engine-hkp.c (RESURRECT_INTERVAL): Decrease.
(INITIAL_HOSTTABLE_SIZE): Increase because the old values was likely
for development.
Signed-off-by: Werner Koch <wk at gnupg.org>
diff --git a/NEWS b/NEWS
index ca84e20..e5f088b 100644
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,8 @@ Noteworthy changes in version 2.2.7 (unreleased)
* dirmngr: Fix a CNAME problem with pools and TLS. Also use a fixed
mapping of keys.gnupg.net to sks-keyservers.net. [#3755]
+ * dirmngr: Try resurrecting dead hosts earlier (from 3 to 1.5 hours).
+
Noteworthy changes in version 2.2.6 (2018-04-09)
------------------------------------------------
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c
index eba7a1a..32840e6 100644
--- a/dirmngr/ks-engine-hkp.c
+++ b/dirmngr/ks-engine-hkp.c
@@ -55,7 +55,7 @@
/* Number of seconds after a host is marked as resurrected. */
-#define RESURRECT_INTERVAL (3600*3) /* 3 hours */
+#define RESURRECT_INTERVAL (3600+1800) /* 1.5 hours */
/* To match the behaviour of our old gpgkeys helper code we escape
more characters than actually needed. */
@@ -110,7 +110,7 @@ static hostinfo_t *hosttable;
static int hosttable_size;
/* The number of host slots we initially allocate for HOSTTABLE. */
-#define INITIAL_HOSTTABLE_SIZE 10
+#define INITIAL_HOSTTABLE_SIZE 50
/* Create a new hostinfo object, fill in NAME and put it into
-----------------------------------------------------------------------
Summary of changes:
NEWS | 2 ++
dirmngr/ks-engine-hkp.c | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list