Skip to content

Min Pool is not respected #22

@SergeyCherman

Description

@SergeyCherman

Issue Description
In the sequelize configuration, I've set

pool: {
min: 10,
max: 30
}

When the connection is acquired it does not check if additional connections need to be made and hence only 1 connection is made instead of 10.

What do you expect to happen?
I expect the min setting to be respected and 10 connections to be made.

Issue is a copy of: sequelize/sequelize#11440 however I believe the issue is in sequelize-pool lib and not in the main sequelize project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions