Alive Database Connection
Closed this issue · 1 comments
rash805115 commented
The database connection manager classes are collected by garbage collection as soon as they are not needed anymore. This closes the database connection and hence on the graph database end, the cache is destroyed.
Next time a new connection is made, due to not having the cache, it takes more time to do an operation.
It is desired that when this code will run in a server, the database connection should not die until the server is shutdown.
rash805115 commented
When run with bookeeping.rest, the objects will not get destroyed because the tomcat server will be running for a long time.