From 72c5f7b0f719e740dda4b85ae0b22b991bdc0e55 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 25 Nov 2024 10:36:52 +0100 Subject: [PATCH] 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. --- common/asshelp.c | 6 +++--- 1 file 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