1 Commits

Author SHA1 Message Date
e644475fbc feat: handle termination 2019-01-30 09:52:30 -07:00

View File

@@ -49,7 +49,6 @@ async function run() {
};
process.on('SIGINT', terminate('SIGINT'));
process.on('SIGTERM', terminate('SIGTERM'));
process.on('SIGKILL', terminate('SIGKILL'));
// scheduled running
if (interval === 0) return;