increase backoffDuration to avoid timeouts (#18281)
This commit is contained in:
parent
3c854e8c24
commit
49e945ed08
1 changed files with 1 additions and 1 deletions
|
|
@ -429,7 +429,7 @@ proc testNimblePackages(r: var TResults; cat: Category; packageFilter: string) =
|
||||||
let buildPath = packagesDir / pkg.name
|
let buildPath = packagesDir / pkg.name
|
||||||
template tryCommand(cmd: string, workingDir2 = buildPath, reFailed = reInstallFailed, maxRetries = 1): string =
|
template tryCommand(cmd: string, workingDir2 = buildPath, reFailed = reInstallFailed, maxRetries = 1): string =
|
||||||
var outp: string
|
var outp: string
|
||||||
let ok = retryCall(maxRetry = maxRetries, backoffDuration = 1.0):
|
let ok = retryCall(maxRetry = maxRetries, backoffDuration = 10.0):
|
||||||
var status: int
|
var status: int
|
||||||
(outp, status) = execCmdEx(cmd, workingDir = workingDir2)
|
(outp, status) = execCmdEx(cmd, workingDir = workingDir2)
|
||||||
status == QuitSuccess
|
status == QuitSuccess
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue