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