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/syncsearch.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/feature/syncsearch.nim') diff --git a/src/feature/syncsearch.nim b/src/feature/syncsearch.nim index 7a9199d..9aa179e 100644 --- a/src/feature/syncsearch.nim +++ b/src/feature/syncsearch.nim @@ -11,7 +11,8 @@ proc handleSyncSearch*(args: seq[Argument], config: Config): int = else: let quiet = args.check(%%%"quiet") - let (aurPackages, aerrors) = findAurPackages(args.targets, config.aurRepo) + let (aurPackages, aerrors) = findAurPackages(args.targets, + config.aurRepo, config.downloadTimeout) for e in aerrors: printError(config.color, e) type Package = tuple[rpcInfo: RpcPackageInfo, installedVersion: Option[string]] -- cgit v1.2.3-70-g09d2