workaround sporadic I/O lags in GitHub Actions (#5613)

This commit is contained in:
Alex Lam S.L
2022-08-10 00:36:14 +01:00
committed by GitHub
parent 6c0e522922
commit 503532cf77

View File

@@ -68,7 +68,8 @@ process.nextTick(function run() {
if (task.length) {
task.timeout = function(limit) {
clearTimeout(timer);
task.limit = limit + lag;
limit += lag;
task.limit = limit;
timer = setTimeout(function() {
raise(new Error("Timed out: exceeds " + limit + "ms"));
}, limit);