Skip to content

Commit 01d2035

Browse files
author
Guillaume Chau
committed
fix(PubSub): set max listeners to Infinity
1 parent bdf74ba commit 01d2035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const { PubSub } = require('graphql-subscriptions')
22

33
const pubsub = new PubSub()
4-
pubsub.ee.setMaxListeners(0)
4+
pubsub.ee.setMaxListeners(Infinity)
55
module.exports = pubsub

0 commit comments

Comments
 (0)