Skip to content

Conversation

@maxdml
Copy link
Collaborator

@maxdml maxdml commented Sep 17, 2025

This PR:

  • Ensure we use the user pgxpool for every interaction with the system DB, if provided
  • Moves the notification listener to using a connection from from said pool, rather than using a standalone connection
  • Make the notification listener loop resilient to connection failures (addresses Resilient notification listener #94)

Note that OnNotification has to be set before a connection is started (which is too late once Acquired from the pool), which is why the logic to handle notifications is now inlined in the listener.

@maxdml maxdml marked this pull request as ready for review September 17, 2025 22:22
@maxdml maxdml force-pushed the full-custom-pool-usage branch from fc7c18d to c504981 Compare September 18, 2025 21:38
@maxdml maxdml merged commit c0ded42 into main Sep 18, 2025
2 checks passed
@maxdml maxdml deleted the full-custom-pool-usage branch September 18, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants