GitHub user chrisdutz added a comment to the discussion: CachedPlcConnectionManager not closing connections?
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. GitHub link: https://github.com/apache/plc4x/discussions/1674#discussioncomment-9828745 ---- This is an automatically sent email for dev@plc4x.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@plc4x.apache.org