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

Add max_lifetime connection option #493

Merged
merged 1 commit into from
Feb 5, 2022
Merged

Conversation

billy1624
Copy link
Member

@billy1624 billy1624 commented Jan 28, 2022

PR Info

Added

  • ConnectOptions added max_lifetime

Changed

  • When converting ConnectionOptions into sqlx::pool::PoolOptions<DB> with ConnectionOptions::pool_options method, max_lifetime will be set if ConnectOptions::max_lifetime is not None

@billy1624 billy1624 self-assigned this Jan 28, 2022
@billy1624 billy1624 requested a review from tyt2y3 January 28, 2022 03:57
billy1624 added a commit to SeaQL/seaql.github.io that referenced this pull request Jan 31, 2022
@tyt2y3 tyt2y3 merged commit e305c66 into master Feb 5, 2022
@tyt2y3 tyt2y3 deleted the max-lifetime-connection-opt branch February 5, 2022 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Surface max_lifetime connection option
2 participants