Skip to content

Commit

Permalink
debug maxListenersExceededWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Dec 6, 2024
1 parent a47ca6f commit 8b5b4bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import { cacheMiddleware, NotFound } from './utils.js';
import CONFIG from './config.loader.js';
global.CONFIG = CONFIG;

import maxListenersExceededWarning from 'max-listeners-exceeded-warning';

maxListenersExceededWarning();

console.log("");
console.log("Starting Iframely...");
console.log("Base URL for embeds that require hosted renders:", CONFIG.baseAppUrl);
Expand Down Expand Up @@ -174,4 +178,4 @@ app.get('/', function(req, res) {
res.end();
});

process.title = "iframely";
process.title = "iframely";
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"iconv-lite": "^0.6.3",
"jslint": "^0.12.1",
"jsontoxml": "^1.0.1",
"max-listeners-exceeded-warning": "^0.0.1",
"memcached": "2.2.2",
"moment": "^2.30.1",
"node-cache": "^1.1.0",
Expand Down

0 comments on commit 8b5b4bf

Please sign in to comment.