diff --git a/routes/_utils/eventBus.js b/routes/_utils/eventBus.js index a542a31..c848e73 100644 --- a/routes/_utils/eventBus.js +++ b/routes/_utils/eventBus.js @@ -2,6 +2,10 @@ import EventEmitter from 'events' const eventBus = new EventEmitter() +// we need enough 'postedStatus' listeners for each +// visible status in a timeline +eventBus.setMaxListeners(100) + if (process.browser && process.env.NODE_ENV !== 'production') { window.eventBus = eventBus }