QuanticPony commented on issue #900:
URL: https://github.com/apache/plc4x/issues/900#issuecomment-1652087124

   @chrisdutz I have made a unit test for the behavior that I think is correct. 
You can check it 
[here](https://github.com/zylklab/plc4x/blob/timeout-fix/plc4j/tools/connection-cache/src/test/java/org/apache/plc4x/java/utils/cache/LeasedPlcConnectionTest.java)
   
   The problem that I see is that any exception while (for example) reading 
from the plc triggers the LeasedPlcConnection to be invalidated. But a timeout 
due to a broken connection does not.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to