summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-11-25 10:36:52 +0100
committerWerner Koch <wk@gnupg.org>2024-11-25 10:37:02 +0100
commit73f3d98444af66569294bf5d7c6b725c39a2f884 (patch)
treeebb07c999fe4c4cb420d7d82b95c45508aee466b /common
parentgpg: Fix comparing ed448 vs ed25519 with --assert-pubkey-algo. (diff)
downloadgnupg2-73f3d98444af66569294bf5d7c6b725c39a2f884.tar.xz
gnupg2-73f3d98444af66569294bf5d7c6b725c39a2f884.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.
Diffstat (limited to 'common')
-rw-r--r--common/asshelp.c6
1 files 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