Skip to content

Conversation

edgurgel
Copy link
Contributor

Sorry it took me so long to finally send this PR!

This PR adds a new possible tuple to be returned on Postgrex.ReplicationConnection callbacks:

{:query, query, query_opts, state} where query_opts can be [timeout: 123] or [timeout: :infinity] for example

I kept the default query timeout as :infinity but not sure if that's the ideal default.

It closes #746

@josevalim josevalim merged commit d990017 into elixir-ecto:master Jul 24, 2025
9 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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.

ReplicationConnection.start_link with sync_connect: true might block forever

2 participants