tRPCttRPC
Powered by
MarkusM
tRPC•10mo ago
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
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Subscriptions
Ahmed EidAAhmed Eid / ❓-help
3y ago
subscriptions on edge
EmilEEmil / ❓-help
14mo ago
A simple example of using SSE and subscriptions
Donald BidenDDonald Biden / ❓-help
11mo ago