mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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@gnupg.org>
This commit is contained in:
parent
cc66108253
commit
5789afc840
2
NEWS
2
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)
|
||||
------------------------------------------------
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user