Skip to content

CachedPlcConnectionManager not closing connections? #1674

Answered by chrisdutz
dominikriemer asked this question in Q&A
Discussion options

You must be logged in to vote

Well the Cache doesn't close connections at all.
the withMaxLeaseTime is the maximum time that a lease is allowed to be used by the borrowing code before the Cache invalidates the handle and passes the connection to the next thread waiting for a connection. The withMaxWaitTime is the maximum amount of time that a thread is willing to wait for a new connection, before the cache cancels the request.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ottlukas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants