From: job Date: Wed, 10 Aug 2022 10:27:03 +0000 (+0000) Subject: Decrease how long to wait for the remote peer to send IO before giving up X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=194059d2ff5090c4c78ab388ea00acf63bebdd56;p=openbsd 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@ --- 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 * @@ -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