Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,7 @@ Sentry.captureMessage('SIGTERM flush message');
console.log('READY');

// Keep the process alive so the integration test can send SIGTERM.
setInterval(() => undefined, 1_000);
const interval = setInterval(() => undefined, 10_000);

// allow graceful exit once the SIGTERM arrives.
process.once('SIGTERM', () => clearInterval(interval));
Loading