rebus-org / Rebus.PostgreSql

:bus: PostgreSQL persistence for Rebus
https://mookid.dk/category/rebus
Other
17 stars 19 forks source link

Add Connection Provider Support To Postgres Transport #9

Closed dtabuenc closed 6 years ago

dtabuenc commented 6 years ago

This creates a new interface IPostgresConnectionProvider that may be used to customize the way connections and transactions are handled by the underlying postgres transport and persistence code. Additional configuration extensions are provided that accept this new interface. Existing methods that take a connection string are still there and simply automatically use the previous PostgresConnectionHelper (which now also implements IPostgresConnectionProvider) to retain backwards-compatible behavior.

Rebus is MIT-licensed. The code submitted in this pull request needs to carry the MIT license too. By leaving this text in, I hereby acknowledge that the code submitted in the pull request has the MIT license and can be merged with the Rebus codebase.

mookid8000 commented 6 years ago

that was quick! 😎 – it's 11 PM here in DK and I am on my way to bed – I'll take a look at it some time tomorrow

MaikuMori commented 6 years ago

Any chance we could get a new release with this PR included?

Would really appreciate it, we're experiencing connection issues in app startup and would like to try adding retries or reusing ASP.NET pool.

mookid8000 commented 6 years ago

was this never released?? I'll look at it right away....

mookid8000 commented 6 years ago

it's out as 5.0.0 just now 😄 thanks for reminding me!