You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.
Connections should be recycled after a period of inactivity.
Current Behavior
After a long period of inactivity (a night for example) the first Query made to the Gremlin cosmosDB database ends up with java.nio.channels.ClosedChannelException.
After several refresh, the connections are recycled and everything is back on track.
Possible Solution
Is the KeepAliveInterval feature implemented ? As I don't see it in the GremlinProperties options. The connections should be recycled automatically by the pool.
Steps to Reproduce (for bugs)
Open a cluster with 2 connections
Let the cluster idle for a long period (a night for example)
Hi @benoit-david
This is a new feature indeed, and in a short time, we may not consider adding it to our library. But PR is welcome. Sorry for the inconvenience.
Expected Behavior
Current Behavior
After several refresh, the connections are recycled and everything is back on track.
Possible Solution
Steps to Reproduce (for bugs)
Snapshot Code for Reproduce
Then calling a simple method like following would cause the issue after an idle period:
Branch
Your Environment
The text was updated successfully, but these errors were encountered: