spnettec commented on PR #818: URL: https://github.com/apache/plc4x/pull/818#issuecomment-1440387183
The raw conection is netty conection and if disconnected it always can reconnect Christofer Dutz ***@***.***> 于2023年2月22日周三 22:57写道: > ***@***.**** commented on this pull request. > ------------------------------ > > In > plc4j/tools/connection-cache/src/main/java/org/apache/plc4x/java/utils/cache/CachedPlcConnectionManager.java > <https://github.com/apache/plc4x/pull/818#discussion_r1114444171>: > > > connectionContainers.put(url, connectionContainer); > } else { > LOG.debug("Reusing exising connection"); > + if(connectionContainer.getRawConnection()!=null && !connectionContainer.getRawConnection().isConnected()){ > > Also admittedly ... I'm not 100% sure if all drivers safely allow > reconnecting if they were somehow disconnected. > > — > Reply to this email directly, view it on GitHub > <https://github.com/apache/plc4x/pull/818#discussion_r1114444171>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AANP4ZB7FQLGUAQMR672INDWYYSOPANCNFSM6AAAAAAVEEMXEI> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> > -- 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