ApolloGraphQL PubSub: MaxListenersExceededWarning? | بلاگ

ApolloGraphQL PubSub: MaxListenersExceededWarning?

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

I'm using graphql-postgres-subscriptions to add pubsub to my ApolloGraphQL app. I'm seeing this in my server logs:

MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 CallAdded listeners added.


  • Is there a limit of 10 listeners per client? If so, my app only has 4 subscriptions. How can I have 10 listeners for a given client?
  • Is there a limit of 10 listeners for the entire app? If so how can this function if I have hundreds of simultaneous users?

I'm happy to correct this, and need a pointer in the right direction. :)

asked 35 secs ago

نویسنده : استخدام کار بازدید : 0 تاريخ : پنجشنبه 22 شهريور 1397 ساعت: 10:21