From 3527a1374afedb0f2f44b8ac5c24b0bd8d637ded Mon Sep 17 00:00:00 2001 From: Duncaen Date: Wed, 19 Jun 2019 22:45:57 +0200 Subject: [PATCH] lib/fetch: set connect timeout to 300 seconds --- lib/fetch/fetch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fetch/fetch.c b/lib/fetch/fetch.c index b7fee67d..d0cce7b8 100644 --- a/lib/fetch/fetch.c +++ b/lib/fetch/fetch.c @@ -45,7 +45,7 @@ auth_t fetchAuthMethod; int fetchLastErrCode; char fetchLastErrString[MAXERRSTRING]; int fetchTimeout; -int fetchConnTimeout; +int fetchConnTimeout = 300 * 1000; int fetchConnDelay = 250; volatile int fetchRestartCalls = 1; int fetchDebug;