fix(eventBus): increase event listeners to 1000 (#657)

This commit is contained in:
Nolan Lawson 2018-11-18 09:07:32 -08:00 committed by GitHub
parent b7f5d04b4c
commit 639c6eaed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ const eventBus = new EventEmitter()
// we need enough 'postedStatus' listeners for each
// visible status in a timeline
eventBus.setMaxListeners(100)
eventBus.setMaxListeners(1000)
if (process.browser && process.env.NODE_ENV !== 'production') {
window.eventBus = eventBus