From 73f3d98444af66569294bf5d7c6b725c39a2f884 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 0fdf8dda9..6706154cd 100644 --- a/common/asshelp.c +++ b/common/asshelp.c @@ -53,9 +53,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