The documentation claimed that the pool was LIFO, but in practice it was not. I suspect this is the reason the pool grows more than required, as clients are constantly cycled through, and thus never reaches their idle time, unless usage essentially stops.
The documentation claimed that the pool was LIFO, but in practice it was not. I suspect this is the reason the pool grows more than required, as clients are constantly cycled through, and thus never reaches their idle time, unless usage essentially stops.
This should fix https://github.com/sequelize/sequelize/issues/10907 and the original report in https://github.com/sequelize/sequelize/issues/10902.