EventStore-Client-NodeJS icon indicating copy to clipboard operation
EventStore-Client-NodeJS copied to clipboard

Subscribing to more than 100 streams silently fails

Open hg-jarlinghaus opened this issue 3 years ago • 1 comments

After calling subscribeToStream 100 times any new calls to subscribeToStream will no longer receive any data, and will not issue any error. Weirdly enough this persists even across multiple connections, so creating two connections to the database and having the first connection subscribe 50 times to a stream and the second connection subscribe 51 times, the 101st subscription created across the whole process will not receive any data. This does not appear to be a server limit however, because running two processes that call subscribeToStream 90 times each will all receive data just fine.

hg-jarlinghaus avatar Jul 15 '21 17:07 hg-jarlinghaus

Hi @hg-jarlinghaus, thanks for reporting this! Do you see any errors on the server when you create the final subscription?

What is your use-case for running so many subscriptions from the same process? And would you mind sharing it in Discuss so that our dev advocacy team can better understand your use, and offer guidance if needed?

hayley-jean avatar Jul 19 '21 09:07 hayley-jean