-
Notifications
You must be signed in to change notification settings - Fork 10k
remove sql.end/client.end() #25426
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
remove sql.end/client.end() #25426
Conversation
|
This PR requires additional review attention because it affects the following areas: PartialsThis PR updates partial files, which are pieces of content used across multiple files in our Render component.
|
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
irvinebroque
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we tell people not to do this explicitly?
The memory of the It is ok to run ctx.waitUntil(sql.end()) which will close the connection between the Worker isolate and Hyperdrive, but we have had some folks report that this was causing issues, partly because of driver bugs that we've reported. To avoid this noise, we are not documenting it (and it's also simpler, as effective). We are going to be writing a new doc section on how connections between Worker, Hyperdrive and the origin database work to clarify some of these things. |
No description provided.