workaround sporadic I/O lags in GitHub Actions (#5613)
This commit is contained in:
parent
6c0e522922
commit
503532cf77
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user