diff --git a/server.js b/server.js index e7d10bc..7a727c5 100644 --- a/server.js +++ b/server.js @@ -14,3 +14,7 @@ if (!baseWebhookURL) { app.listen(port, () => { console.log(`Server running on port ${port}`) }) + +// puppeteer uses subscriptions to SIGINT, SIGTERM, and SIGHUP to know when to close browser instances +// this disables the warnings when you starts more than 10 browser instances +process.setMaxListeners(0)