Skip to content

Reset all connections with PostgreSQL when the server restarts#5216

Draft
akshaymankar wants to merge 2 commits intodevelopfrom
hasql-conn-reset
Draft

Reset all connections with PostgreSQL when the server restarts#5216
akshaymankar wants to merge 2 commits intodevelopfrom
hasql-conn-reset

Conversation

@akshaymankar
Copy link
Copy Markdown
Member

@akshaymankar akshaymankar commented May 5, 2026

https://wearezeta.atlassian.net/browse/WPB-25203

Upstream issue: nikita-volkov/hasql-pool#54

More things to do:

  • Replace all uses of use with functions from Wire.Postgres.
  • Figure out if this is really the right thing to do
    In case case multiple connections realize the need for reset at once, we'd be resetting multiple times, is this really ok?

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label May 5, 2026
@akshaymankar akshaymankar changed the title Hasql conn reset Reset all connections with PostgreSQL when the server restarts May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants