Camunda invalid pool connection error

Hi Guys,

We have one usecase where one process(work order process) starts another process (work order activty process) since from process 1 around 50 process 2 are started, if simultaneously 2-3 process 1 are started it around 100 + process 2 are being started, and in that case we are receiving connection invalid pool exception , for now we have increased the size of pool to 30 and its working ok, but as number of connections will increase we might face this issue again , if simultaneuosly process 1 is started by large number of users , could anyone suggest better option on this.