cpursley / walex

Postgres change events (CDC) in Elixir
MIT License
276 stars 14 forks source link

Check publication exists #58

Closed DaemonSnake closed 3 months ago

DaemonSnake commented 3 months ago

before trying to create or start the replication slot check if the publication actually exists Otherwise we will create needless replication slots that will fail to start. This would lead to reaching fast the max_replication_slots (with the default backoff of 0,5s in particular)

depends on https://github.com/cpursley/walex/pull/57