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

Add WAL message heartbeat #4

Merged
merged 3 commits into from
Oct 12, 2024
Merged

Add WAL message heartbeat #4

merged 3 commits into from
Oct 12, 2024

Conversation

tonyhb
Copy link
Contributor

@tonyhb tonyhb commented Oct 12, 2024

This PR introduces WAL message heartbeats for PG >= 14. The idea is, every ~minute we push a wal message via the query connection. This does nothing but ensure that the wal subscriber receives messages and the DB has activity.

We then force report the WAL position on heartbeats.

This PR introduces WAL message heartbeats for PG >= 14.  The idea is,
every ~minute we push a wal message via the query connection.  This does
nothing but ensure that the wal subscriber receives messages and the DB
has activity.

We then force report the WAL position on heartbeats.
@tonyhb tonyhb merged commit ef02a7d into main Oct 12, 2024
2 checks passed
@tonyhb tonyhb deleted the chore/wal-message-heartbeat branch October 12, 2024 00:48
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.

2 participants