Compare commits
1 Commits
e644475fbc
...
7bbe31f4ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bbe31f4ea |
@@ -49,6 +49,7 @@ async function run() {
|
|||||||
};
|
};
|
||||||
process.on('SIGINT', terminate('SIGINT'));
|
process.on('SIGINT', terminate('SIGINT'));
|
||||||
process.on('SIGTERM', terminate('SIGTERM'));
|
process.on('SIGTERM', terminate('SIGTERM'));
|
||||||
|
process.on('SIGKILL', terminate('SIGKILL'));
|
||||||
|
|
||||||
// scheduled running
|
// scheduled running
|
||||||
if (interval === 0) return;
|
if (interval === 0) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user