chrisdutz commented on PR #2340:
URL: https://github.com/apache/plc4x/pull/2340#issuecomment-3520882301

   Oh ... I was just about to review this and I do have my issues with it.
   
   Initially it was the idea that multiple threads asking for the same resource 
result in the first getting it and the others going into the queue. If now the 
one thread using it causes the connection to throw an exception, we invalidate 
the connection and create a new one.
   
   The idea was to return the new connection to the next waiting thread. 
   
   By clearing the queue, we immediately kill also the waiting threads.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to