Compare commits
1 Commits
d44aae0eff
...
8887031284
Author | SHA1 | Date | |
---|---|---|---|
8887031284 |
@ -114,10 +114,10 @@ async function main() {
|
|||||||
const rcsdk = await initRingCentralSDK();
|
const rcsdk = await initRingCentralSDK();
|
||||||
const db = await initDB();
|
const db = await initDB();
|
||||||
|
|
||||||
logger.info("Starting");
|
|
||||||
|
|
||||||
const intervals = ticketize(sonar, rcsdk, db, getTicketizeConfig());
|
const intervals = ticketize(sonar, rcsdk, db, getTicketizeConfig());
|
||||||
|
|
||||||
|
logger.info("Started");
|
||||||
|
|
||||||
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
|
["SIGINT", "SIGTERM", "SIGQUIT"].forEach((sig) => {
|
||||||
process.on(sig, async () => {
|
process.on(sig, async () => {
|
||||||
logger.info(`\nCaught ${sig}, shutting down...`);
|
logger.info(`\nCaught ${sig}, shutting down...`);
|
||||||
|
Loading…
Reference in New Issue
Block a user