Bug: live queries kill DB connection #3978
Labels
bug
Something isn't working
question
Further information is requested
topic:live
This is related to live queries and push notifications
Describe the bug
If multiple programs try to subscribe for a live select the DB won't accept new connections after some time. We ran into this error while implementing a frontend in TypeScript (using
surrealdb.js
) where the UI started & stopped multipleSELECT LIVE
statements. We also encountered this bug by the following code (which was specifically written to reproduce the bug).Steps to reproduce
Steps:
Program:
Dependencies
Expected behaviour
After a while (it can take as much as one day with this example) you shouldn't be able to create a new DB connection
SurrealDB version
surreal 1.4.2 for macOS on aarch64
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: