Compare commits
1 Commits
9a61396db6
...
88d9e58d25
Author | SHA1 | Date | |
---|---|---|---|
88d9e58d25 |
@ -120,7 +120,7 @@ async function main() {
|
|||||||
|
|
||||||
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
|
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
|
||||||
process.on(sig, async () => {
|
process.on(sig, async () => {
|
||||||
logger.info(`Caught ${sig}, shutting down...`);
|
logger.info(`\nCaught ${sig}, shutting down...`);
|
||||||
const results = await Promise.allSettled(
|
const results = await Promise.allSettled(
|
||||||
intervals.map((interval) => interval.clear())
|
intervals.map((interval) => interval.clear())
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user