Qus:    What is difference between min pool value set to 0 and 1?
Dec 17, 2020 10:06 1 Answers Views: 711 NAIDU

Setting the min connection value to 0 permits the pool to close all connections in the pool after the idle/expiration time has passed. This is the recommended setting for production environments. This avoids keeping unused connections too long and helps avoid stale connections (Stale connection : connections that the adapter thinks are still good, but the resource has closed.)

Prev Next
Answers (1)
KRISHNA SWAROOP Dec 18, 2020 08:06
Answer:   Setting the min connection value to 0 permits the pool to close all connections in the pool after the idle/expiration time has passed. This is the recommended setting for production environments. This avoids keeping unused connections too long and helps avoid stale connections (Stale connection : connections that the adapter thinks are still good, but the resource has closed.)

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect