mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
3eec28afcf
- Preparing to cleanup / change how we use events across Ghost - Removing this unused bit of additional complexity makes it easier to reason about what we need
15 lines
363 B
JavaScript
15 lines
363 B
JavaScript
const events = require('events');
|
|
const util = require('util');
|
|
let EventRegistry;
|
|
let EventRegistryInstance;
|
|
|
|
EventRegistry = function () {
|
|
events.EventEmitter.call(this);
|
|
};
|
|
|
|
util.inherits(EventRegistry, events.EventEmitter);
|
|
|
|
EventRegistryInstance = new EventRegistry();
|
|
EventRegistryInstance.setMaxListeners(100);
|
|
|
|
module.exports = EventRegistryInstance;
|