Markus
Max number of subscriptions
Hello, I hope you can help me.
I have a nextjs app with a realtime chat and I've just switched to sse (like in the example repo in the docs) from a standalone ws server.
I've implemented various subscriptions, onAdd, onEdit, onDelete, onType and so on. Everithing works on their own but when i try to enable more then 5 subscriptions at the same time the page breaks ( no longer receiving mutation response, no longer able to reload the page, some external api is left pending) . Is there a limit of subscriptions i can run simultaneously? I already have solved the problem consolidating in 2 or 3 subscriptions the whole logic and it works no problem. It would be nice to know if there is a limit tho. Thanks 😃
running on node 22.14 with npm and nextjs v15.3
1 replies