setup pool for graph factory does'nt work.

Documentation give the example for setup pool :

// create factory
OrientGraphFactory graphFactory = new OrientGraphFactory(poolUrl, admin, 
password).setupPool(1, 5);

// each time i'm getting a graph i use try/finally to shutdown it
OrientGraph graph = factory.getNoTx();
...
graph.shutdown

BUT Each time i call factory.getNoTx() each it create a new connection. (I 
see more connections than the max pool in the studio (server management), 
and the old connections that i've shutdown are staying alive.

Has someone the same issue ?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to