chrisdutz commented on issue #2388: URL: https://github.com/apache/plc4x/issues/2388#issuecomment-3646171492
Well you need a live connection first, but can re use them. Right now the request is tied with the connection object that created it. This was something I recently discovered recently and we started discussing here. Expect the request to get the connection passed in on execution in the future. But I just wanted to make sure you also know the connection cache? Connecting in s7 requires a handshake, which executing on every read is quite expensive. Reusing and sharing a connection among the application is a best practice. -- 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]
