Skip to content

Add ConnectionMaxLifetime Feature - #1856

Closed
FlorianRainer wants to merge 1 commit into
npgsql:devfrom
FlorianRainer:connection_max_lifetime
Closed

FlorianRainer wants to merge 1 commit into
npgsql:devfrom
FlorianRainer:connection_max_lifetime

Conversation

@FlorianRainer

Copy link
Copy Markdown
Contributor

Pull Request related to #1810

This code is tested carefully, and it should have no impact on performace (except one line CreationTimestamp = DateTime.UtcNow;) but this should be not relevant.

I have tested the combination of Connection Idle Lifetime and Connection Max Lifetime with small and large Pools and it works perfectly fine.

Like you have suggested in the related issue i have used the idle connection pruning logic to handle the connection close.

Feel free to correct the parameter description or variable naming if needed.

@FlorianRainer

Copy link
Copy Markdown
Contributor Author

closed because of redone pull request #2068

@roji roji linked an issue Sep 8, 2020 that may be closed by this pull request
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.

Option to close physical connections past a certain age

1 participant