Skip to content

Commit

Permalink
[fix] setMaxListeners(0) in base ReadWriteStream for reactors since w…
Browse files Browse the repository at this point in the history
…e pipe lots of reactors to other reactors and such
  • Loading branch information
jcrugzz committed May 9, 2013
1 parent a5c0285 commit 2e20437
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/godot/common/read-write-stream.js
Expand Up @@ -15,8 +15,13 @@ var stream = require('stream'),
var ReadWriteStream = module.exports = function ReadWriteStream() {
this.readable = true;
this.writable = true;

stream.Stream.call(this);

//
// Set max listeners to zero since we are piping shit like crazy
//
this.setMaxListeners(0);
};

//
Expand Down

0 comments on commit 2e20437

Please sign in to comment.