Skip to content

Commit 21d5dfd

Browse files
committed
getuto: be less generous with timeouts
When things are working, it should complete pretty quickly. We always import from the filesystem copy anyway. Signed-off-by: Sam James <sam@gentoo.org>
1 parent 79219ae commit 21d5dfd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

getuto

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ LASTRUNFILE=${GNUPGHOME}/.getuto.last
2727
QUIET='1'
2828
QUIET_GPG=''
2929

30-
GPG_TIMEOUT_TERM='3.5m'
31-
GPG_TIMEOUT_KILL='5m'
30+
GPG_TIMEOUT_TERM='1.75m'
31+
GPG_TIMEOUT_KILL='2.5m'
3232

3333
[[ $1 == '-v' ]] && QUIET=''
3434
# If QUIET is enabled, pass '--quiet' and suppress GPG homedir permission warnings
@@ -113,8 +113,8 @@ if [[ ! -d ${GNUPGHOME} ]] ; then
113113
# preferably with DNSSEC checks enabled and use the following setting:
114114
standard-resolver
115115
116-
resolver-timeout 180
117-
connect-timeout 180
116+
resolver-timeout 90
117+
connect-timeout 90
118118
EOF
119119

120120
cat > "${GNUPGHOME}"/gpg-agent.conf <<-EOF

0 commit comments

Comments
 (0)