From 0b6c3e6732c5c0d5b6613d2fe450c3b7760c0827 Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sat, 9 Jun 2018 22:26:16 +0300 Subject: Add support for "--disable-download-timeout" option --- src/feature/syncsource.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/feature/syncsource.nim') diff --git a/src/feature/syncsource.nim b/src/feature/syncsource.nim index df543c7..e0531bc 100644 --- a/src/feature/syncsource.nim +++ b/src/feature/syncsource.nim @@ -168,7 +168,8 @@ proc handleSyncSource*(args: seq[Argument], config: Config): int = for e in errors: printError(config.color, e) findSyncTargets(handle, dbs, targets, config.aurRepo, false, false) - let (rpcInfos, aerrors) = getRpcPackageInfos(checkAurNames, config.aurRepo) + let (rpcInfos, aerrors) = getRpcPackageInfos(checkAurNames, + config.aurRepo, config.downloadTimeout) for e in aerrors: printError(config.color, e) let notFoundTargets = filterNotFoundSyncTargets(syncTargets, -- cgit v1.2.3-70-g09d2