Skip to content
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

correct exponential backoff on Listener #3572

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

steve-chavez
Copy link
Member

Clears the limitation mentioned on #3536

The Listener no longer uses the https://hackage.haskell.org/package/retry package and instead uses a much simpler IORef in AppState for the delays.

Additionally it no longer uses exception throwing/catching, which is rather messy and brings some
concerns (#3569 (comment)).

Clears the limitation mentioned on

PostgREST#3536

The Listener no longer uses the https://hackage.haskell.org/package/retry
package and instead uses a much simpler IORef in AppState for the
delays.

Additionally it no longer uses exception throwing/catching, which
is rather messy and brings some
concerns(PostgREST#3569 (comment)).
@steve-chavez
Copy link
Member Author

codecov fails because of missing tests for LISTEN recovery. I've put this is a TODO on #1766 (comment)

@steve-chavez steve-chavez merged commit 1a8b697 into PostgREST:main Jun 5, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant