Skip to content

Commit 4a2689b

Browse files
author
Burcu Dogan
committed
Merge pull request #225 from stephenplusplus/max-listeners
fix(connection): allow more connection callbacks
2 parents b38a36e + d76903e commit 4a2689b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/common/connection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ module.exports.Token = Token;
9494
*/
9595
function Connection(opts) {
9696
events.EventEmitter.call(this);
97+
this.setMaxListeners(0);
9798

9899
opts = opts || {};
99100

0 commit comments

Comments
 (0)