We are using mysql document store ver 8.0.18.
Connecting to server from Java springboot
I have Created connection as mentioned in the sample.
Problem: In the MYSQL workbench, Administrator Client Connections, total connections is getting increased continuously. Connections count is not coming down even after calling client.close().
Please let me know if I am missing something.
ClientFactory cf = new ClientFactory();
//Obtain Client from ClientFactory
Client cli = cf.getClient(this.baseUrl, "{\"pooling\":{\"enabled\":true, \"maxSize\":8,
\"maxIdleTime\":30000, \"queueTimeout\":10000} }");
Session sess = cli.getSession();
//Use Session as usual
//Close Client after use
cli.close();
Connecting to server from Java springboot
I have Created connection as mentioned in the sample.
Problem: In the MYSQL workbench, Administrator Client Connections, total connections is getting increased continuously. Connections count is not coming down even after calling client.close().
Please let me know if I am missing something.
ClientFactory cf = new ClientFactory();
//Obtain Client from ClientFactory
Client cli = cf.getClient(this.baseUrl, "{\"pooling\":{\"enabled\":true, \"maxSize\":8,
\"maxIdleTime\":30000, \"queueTimeout\":10000} }");
Session sess = cli.getSession();
//Use Session as usual
//Close Client after use
cli.close();