Increase process.setMaxListeners

This commit is contained in:
Mattias Erming 2015-04-29 12:55:13 -07:00
parent 7138ca6bda
commit 2cee0ea6ef
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,8 @@
0.51.1 / 2015-04-29
===================
* Increase process.setMaxListeners to prevent link preview to cause a crash
0.51.0 / 2015-04-16 0.51.0 / 2015-04-16
================== ==================
@ -6,24 +11,24 @@
* Added 'displayNetwork' setting * Added 'displayNetwork' setting
0.49.3 / 2015-01-04 0.49.3 / 2015-01-04
================== ===================
* Fully expand chat when userlist is hidden * Fully expand chat when userlist is hidden
* Remove vertical whitespace in chat windows * Remove vertical whitespace in chat windows
* Support @mention * Support @mention
0.49.2 / 2015-01-04 0.49.2 / 2015-01-04
================== ===================
* Fix crash on broken links * Fix crash on broken links
0.49.1 / 2015-01-04 0.49.1 / 2015-01-04
================== ===================
* Fix undefined content-type (link plugin) * Fix undefined content-type (link plugin)
0.49.0 / 2014-12-23 0.49.0 / 2014-12-23
================== ===================
* Replaced superagent with request * Replaced superagent with request
* Solves a problem where some links would crash the server * Solves a problem where some links would crash the server

View file

@ -1,7 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "Web IRC client", "description": "The self-hosted Web IRC client",
"version": "0.51.0", "version": "0.51.1",
"author": "Mattias Erming", "author": "Mattias Erming",
"preferGlobal": true, "preferGlobal": true,
"bin": { "bin": {

View file

@ -5,6 +5,8 @@ var request = require("request");
var Helper = require("../../helper"); var Helper = require("../../helper");
var es = require('event-stream'); var es = require('event-stream');
process.setMaxListeners(0);
module.exports = function(irc, network) { module.exports = function(irc, network) {
var client = this; var client = this;
irc.on("message", function(data) { irc.on("message", function(data) {