var events  = require('events'),
    util    = require('util'),
    EventRegistry;

EventRegistry = function () {};

util.inherits(EventRegistry, events.EventEmitter);

module.exports = new EventRegistry();

var events  = require('events'),
    util    = require('util'),
    EventRegistry,
    EventRegistryInstance;

EventRegistry = function () {};
util.inherits(EventRegistry, events.EventEmitter);

EventRegistryInstance = new EventRegistry();
EventRegistryInstance.setMaxListeners(100);

module.exports = EventRegistryInstance;

Set a higher maxListeners value
Set a higher maxListeners value

fixes #5373

- Set Max Listeners on our Event Emitter to 100
- Stops the '11 listeners added' error on node 0.12 during tests
