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

Postgresql fix #224

Merged
merged 8 commits into from
Apr 4, 2022
Merged

Postgresql fix #224

merged 8 commits into from
Apr 4, 2022

Conversation

iegomez
Copy link
Owner

@iegomez iegomez commented Mar 11, 2022

This PR completes work for #223.

@thomastvedt, feel free to check the additions and implement them in your fork if you wish; if so, I'll merge your PR instead.

Btw, I didn't add any tests because testing the life time of a connection as set by the sqlx package is out of my control and probably quite pointless, specially after you've confirmed it as a fix to your issue. That said, when adding the option to the three DB backends using said package, I left the default behaviour to not set any max life time as to not break backwards compatibility: that is, if you need to set a max life time, you need to be explicit in your options file, there'll be no default time set by the plugin (other than the sqlx set one, if any).

Copy link
Contributor

@thomastvedt thomastvedt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @iegomez , this looks great 👍 We can just close the other PR and merge this? 🙂

@iegomez iegomez merged commit 98d8b4a into master Apr 4, 2022
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.

None yet

2 participants