mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-02 14:17:09 -07:00
feat(ci): unleash 16-core speed and suppress zombie tests
This commit is contained in:
@@ -142,10 +142,16 @@ async function gracefulShutdown(_reason: string) {
|
||||
process.exit(ExitCodes.SUCCESS);
|
||||
}
|
||||
|
||||
let signalHandlersSetup = false;
|
||||
|
||||
export function setupSignalHandlers() {
|
||||
if (signalHandlersSetup) {
|
||||
return;
|
||||
}
|
||||
process.on('SIGHUP', () => gracefulShutdown('SIGHUP'));
|
||||
process.on('SIGTERM', () => gracefulShutdown('SIGTERM'));
|
||||
process.on('SIGINT', () => gracefulShutdown('SIGINT'));
|
||||
signalHandlersSetup = true;
|
||||
}
|
||||
|
||||
export function setupTtyCheck(): () => void {
|
||||
|
||||
Reference in New Issue
Block a user