Jimmy, This maximum connection property is connection per partitions, not for whole pool. Amount of partitions equals to amount of cores on you machine.
On Wed, Jun 17, 2015 at 11:37 AM Jimmy Pannier <[email protected]> wrote: > 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. > -- --- 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.
