mirror of
https://github.com/actions/runner.git
synced 2025-12-10 20:36:49 +00:00
Allow script to exit early as soon as runner process exits. (#1580)
This commit is contained in:
@@ -83,7 +83,7 @@ var gracefulShutdown = function (code) {
|
|||||||
listener.kill('SIGINT');
|
listener.kill('SIGINT');
|
||||||
|
|
||||||
console.log('Sending SIGKILL to runner listener');
|
console.log('Sending SIGKILL to runner listener');
|
||||||
setTimeout(() => listener.kill('SIGKILL'), 30000);
|
setTimeout(() => listener.kill('SIGKILL'), 30000).unref();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user