immudb-node
immudb-node copied to clipboard
client can be configured to keep the connection open indefinitely
Currently, inactive sessions are automatically closed by the server after a designated timeout period. By default, the timeout period is two minutes.
Provide configuration or a function that can be called periodically to ensure that the connection remains active. Possible implementation options include a keepAlive() function, or client configuration that accepts a keep alive flag. The implementation approach should be made consistent across SDK's.
Alternately, it could be the case that the client instance reopens the connection automatically as needed.
hey @elmarquez, we will look into improving that part. Thx for reporting it :)