Skip to content

Conversation

nyannyacha
Copy link
Contributor

What kind of change does this PR introduce?

Bug fix

Description

There was an issue where if a user worker that was already streaming response data over an outbound connection was terminated for an abnormal reason, the connection would not close and would remain in the waiting state indefinitely. This issue persisted unless the connection was manually closed by an external.

This PR narrows the lifetime of a connection, which fixes the issue of connections not closing if the worker is abnormally terminated.

@nyannyacha nyannyacha merged commit ef3c0a1 into supabase:main Jun 27, 2024
@nyannyacha nyannyacha deleted the fix-narrow-conn-token-lt branch June 27, 2024 05:54
Copy link

🎉 This PR is included in version 1.54.9 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants