Skip to content

Is max_lifetime_session supported in thin mode or not? #407

Answered by anthony-tuininga
Jaza asked this question in Q&A
Discussion options

You must be logged in to vote

I can confirm that max_lifetime_session is not supported in thin mode currently. That property, however, is one that simply ensures that a connection should be discarded after the interval takes place. If I recall correctly, however, this check is only done when a connection is returned to the pool or when a connection is being returned from the pool.

The timeout value is supported in thin mode and that one will ensure that any idle connections that have been idle for the given period of time will be discarded from the pool. This sounds like what you are after. The min value will remain permanently, so if you were hoping to ensure that connections never remain alive for more than a certai…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Jaza
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@cjbj
Comment options

cjbj Oct 21, 2024
Maintainer

@Jaza
Comment options

@cjbj
Comment options

cjbj Oct 22, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants