Can someone throw some light here that is there any default connection timeout settings that can be applied here? Or is it the only way to programmatically close the connection?
Hi @Steve-Mcl - I have mentioned the Github link just for reference. The prime ask is still the same .
" Is there any default mechanism that Node-RED auto closes the connection opened by the browse node" OR " Any specific reason why the connection opened by the browse node is not auto closed?
Node-red has a close event that is called when a node is re-deployed or removed but not an auto close event. Ultimately though, it would depend on the contrib nodes' author writing the appropriate code to close this connection (assuming that is the real issue).
Possibly a design decisions or an oversight by the contrib nodes' author.
In short, this is something the nodes author needs to answer. If you haven't already, then I suggest you raise this as an issue on the GitHub issues pages for that node
Client will open session and it contains parameters like session timeout but also keepalive flag. Keepalive will keep session open even there is not other activity. Session that uses subscription it is needed to keep it open with keepalive as there can be longer time without any value updates.