-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: live queries kill DB connection #3978
Comments
This may be related to #3906 |
Hi @schronck , can you confirm if this is resolved now? You can use the current version with |
@phughk thank you for the info. It seems like it works perfectly. I started all of containers appr. 15 minutes ago. It usually dropped the connections after few minutes. I will keep it running on my machine for a day and I will let you know if anything changed. |
@phughk It's been running for almost a day now, and there were no errors, and haven't encountered our favorite bug sice the update. Thanks again! |
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: