diff options
author | Werner Koch <[email protected]> | 2024-11-25 09:36:52 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-11-25 09:53:14 +0000 |
commit | 72c5f7b0f719e740dda4b85ae0b22b991bdc0e55 (patch) | |
tree | 601f9265dc1438e2f1171062a18057c897cfc443 | |
parent | gpg: Fix comparing ed448 vs ed25519 with --assert-pubkey-algo. (diff) | |
download | gnupg-72c5f7b0f719e740dda4b85ae0b22b991bdc0e55.tar.gz gnupg-72c5f7b0f719e740dda4b85ae0b22b991bdc0e55.zip |
common: Change daemon startup timeout from 5 to 8 seconds.
* common/asshelp.c (SECS_TO_WAIT_FOR_AGENT): Change from 5 to 8
seconds.
(SECS_TO_WAIT_FOR_KEYBOXD): Ditto.
(SECS_TO_WAIT_FOR_DIRMNGR): Ditto.
--
Experience on Windows showed that right after re-booting we may need
some more time to get things up.
-rw-r--r-- | common/asshelp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/asshelp.c b/common/asshelp.c index eb3e41bf5..a69b87e00 100644 --- a/common/asshelp.c +++ b/common/asshelp.c @@ -54,9 +54,9 @@ /* The time we wait until the agent or the dirmngr are ready for operation after we started them before giving up. */ -#define SECS_TO_WAIT_FOR_AGENT 5 -#define SECS_TO_WAIT_FOR_KEYBOXD 5 -#define SECS_TO_WAIT_FOR_DIRMNGR 5 +#define SECS_TO_WAIT_FOR_AGENT 8 +#define SECS_TO_WAIT_FOR_KEYBOXD 8 +#define SECS_TO_WAIT_FOR_DIRMNGR 8 /* A bitfield that specifies the assuan categories to log. This is identical to the default log handler of libassuan. We need to do |