Skip to content

It's no use setting the default property "minIdle" of HikariPool by nacos #3300

@CsyDesign

Description

@CsyDesign

It's no use setting the default property "minIdle" of HikariPool by nacos

Nacos设置的Hikari连接池默认最小空闲数没起效

nacos version = 1.3.1
"DEFAULT_MAX_POOL_SIZE" should be greater than or equal to "DEFAULT_MINIMUM_IDLE"
"DEFAULT_MAX_POOL_SIZE" 应该大于等于 "DEFAULT_MINIMUM_IDLE"

image

image

current 目前

nacos version = 1.3.1
DEFAULT_MAX_POOL_SIZE < DEFAULT_MINIMUM_IDLE

expected 期望

DEFAULT_MAX_POOL_SIZE >= DEFAULT_MINIMUM_IDLE

suggestions 建议

DEFAULT_MAX_POOL_SIZE = DEFAULT_MINIMUM_IDLE
reason:When they are equal, the connection pool will not suddenly fluctuate.
理由:当他们相等时,连接池不会突然波动。

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategory issues or prs related to enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions