diff options
author | kitsunyan | 2018-06-09 19:26:16 +0000 |
---|---|---|
committer | kitsunyan | 2018-06-09 19:26:16 +0000 |
commit | 0b6c3e6732c5c0d5b6613d2fe450c3b7760c0827 (patch) | |
tree | 72fac7f0d47d7ef1683bc2be639fb3cea524ee17 /src/feature/syncsource.nim | |
parent | 56e82963b465116af32231aa531e8f6344826eab (diff) |
Add support for "--disable-download-timeout" option
Diffstat (limited to 'src/feature/syncsource.nim')
-rw-r--r-- | src/feature/syncsource.nim | 3 |
1 files changed, 2 insertions, 1 deletions
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, |