commanded / eventstore

Event store using PostgreSQL for persistence
MIT License
1.06k stars 146 forks source link

fix: allow disconnect_on_error_codes to be pass to the event store conn #263

Closed silvadanilo closed 1 year ago

silvadanilo commented 2 years ago

fix: allow disconnect_on_error_codes to be pass to the event store connnection

matt-hobbs-prima commented 1 year ago

Any update on this? We're running into the issue around AWS RDS failovers described here and it would be great to be able to configure Postgrex with this configuration.

Johnabell commented 1 year ago

@slashdotdash Are you able to have a look at this PR for us? As mentioned by @matt-hobbs-prima we had issue with RDS failovers and as a result commanded and ended up with event handlers running on multiple nodes. We would be keen to get this in since this should help avoid this happening again.