Remove setMaxListeners

Reverts 2cee0ea6ef as this no longer causes the EventEmitter warning due to `maxRedirects` being set to 5 on our end.

Ref: https://github.com/request/request/issues/311#issuecomment-153507416
This commit is contained in:
Pavel Djundik 2018-03-07 09:13:06 +02:00
parent dd3d8f8fb3
commit 6fa48d3acf

View File

@ -9,8 +9,6 @@ const cleanIrcMessage = require("../../../client/js/libs/handlebars/ircmessagepa
const findLinks = require("../../../client/js/libs/handlebars/ircmessageparser/findLinks"); const findLinks = require("../../../client/js/libs/handlebars/ircmessageparser/findLinks");
const storage = require("../storage"); const storage = require("../storage");
process.setMaxListeners(0);
// Fix ECDH curve client compatibility in Node v8/v9 // Fix ECDH curve client compatibility in Node v8/v9
// This is fixed in Node 10, but The Lounge supports LTS versions // This is fixed in Node 10, but The Lounge supports LTS versions
// https://github.com/nodejs/node/issues/16196 // https://github.com/nodejs/node/issues/16196