Skip to content

Commit

Permalink
fix(PubSub): set max listeners to Infinity
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Chau committed Apr 13, 2019
1 parent bdf74ba commit 01d2035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-ui/apollo-server/pubsub.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { PubSub } = require('graphql-subscriptions')

const pubsub = new PubSub()
pubsub.ee.setMaxListeners(0)
pubsub.ee.setMaxListeners(Infinity)
module.exports = pubsub

0 comments on commit 01d2035

Please sign in to comment.