mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
increase backoffDuration to avoid timeouts (#18281)
This commit is contained in:
@@ -429,7 +429,7 @@ proc testNimblePackages(r: var TResults; cat: Category; packageFilter: string) =
|
||||
let buildPath = packagesDir / pkg.name
|
||||
template tryCommand(cmd: string, workingDir2 = buildPath, reFailed = reInstallFailed, maxRetries = 1): string =
|
||||
var outp: string
|
||||
let ok = retryCall(maxRetry = maxRetries, backoffDuration = 1.0):
|
||||
let ok = retryCall(maxRetry = maxRetries, backoffDuration = 10.0):
|
||||
var status: int
|
||||
(outp, status) = execCmdEx(cmd, workingDir = workingDir2)
|
||||
status == QuitSuccess
|
||||
|
||||
Reference in New Issue
Block a user