increase libuv-workaround timeout to 100ms

This commit is contained in:
Kevin Stillhammer 2026-05-13 08:21:36 +02:00
parent a81585cbb0
commit 32e0005318
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

2
dist/save-cache/index.cjs generated vendored
View file

@ -63220,7 +63220,7 @@ async function run() {
} else {
info("save-cache is false. Skipping save cache step.");
}
await new Promise((resolve2) => setTimeout(resolve2, 50));
await new Promise((resolve2) => setTimeout(resolve2, 100));
process.exit(0);
}
} catch (error2) {

2
dist/setup/index.cjs generated vendored
View file

@ -97395,7 +97395,7 @@ async function run() {
if (inputs.enableCache) {
await restoreCache2(inputs, detectedPythonVersion);
}
await new Promise((resolve3) => setTimeout(resolve3, 50));
await new Promise((resolve3) => setTimeout(resolve3, 100));
process.exit(0);
} catch (err) {
setFailed(err.message);

View file

@ -20,8 +20,8 @@ export async function run(): Promise<void> {
} else {
core.info("save-cache is false. Skipping save cache step.");
}
// https://github.com/nodejs/node/issues/56645#issuecomment-3077594952
await new Promise((resolve) => setTimeout(resolve, 50));
// https://github.com/nodejs/node/issues/56645#issuecomment-3924958861
await new Promise((resolve) => setTimeout(resolve, 100));
// node will stay alive if any promises are not resolved,
// which is a possibility if HTTP requests are dangling

View file

@ -84,8 +84,8 @@ async function run(): Promise<void> {
if (inputs.enableCache) {
await restoreCache(inputs, detectedPythonVersion);
}
// https://github.com/nodejs/node/issues/56645#issuecomment-3077594952
await new Promise((resolve) => setTimeout(resolve, 50));
// https://github.com/nodejs/node/issues/56645#issuecomment-3924958861
await new Promise((resolve) => setTimeout(resolve, 100));
process.exit(0);
} catch (err) {
core.setFailed((err as Error).message);