diff options
author | Job Snijders <job@cvs.openbsd.org> | 2022-08-10 10:27:04 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2022-08-10 10:27:04 +0000 |
commit | 0b54e3b6d3aa558f8dfc9772cc1a948939a92f43 (patch) | |
tree | 48f8ea892dc9c882057b4570e326d1bd81729538 /usr.sbin | |
parent | d05b9f71d1ff578bde4d9d388a4c4dd4d88fdf6f (diff) |
Decrease how long to wait for the remote peer to send IO before giving up
If a repository is uncommunicative, rpki-client will try other transports,
or come back later (because of a next crontab invocation).
OK claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpki-client/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/rpki-client/extern.h b/usr.sbin/rpki-client/extern.h index e5868ffa15b..2b04df28cae 100644 --- a/usr.sbin/rpki-client/extern.h +++ b/usr.sbin/rpki-client/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.146 2022/08/09 09:02:26 claudio Exp $ */ +/* $OpenBSD: extern.h,v 1.147 2022/08/10 10:27:03 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -731,7 +731,7 @@ int mkpathat(int, const char *); #define MAX_CONN_TIMEOUT 15 /* How long to wait for IO from a remote server. */ -#define MAX_IO_TIMEOUT 180 +#define MAX_IO_TIMEOUT 30 /* Maximum allowd repositories per tal */ #define MAX_REPO_PER_TAL 1000 |