Skip to content

Conversation

Jiabao-Sun
Copy link
Contributor

Set HikariCP's minimumIdle to 1 to reduce connections size.

@Jiabao-Sun Jiabao-Sun changed the title Set HikariCP's minimumIdle to 1 to reduce connection size [mysql] Set HikariCP's minimumIdle to 1 to reduce connection size Dec 8, 2021
@leonardBang leonardBang self-requested a review December 15, 2021 09:42
@@ -30,6 +30,7 @@
"jdbc:mysql://%s:%s/?useInformationSchema=true&nullCatalogMeansCurrent=false&useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&zeroDateTimeBehavior=CONVERT_TO_NULL";
public static final String CONNECTION_POOL_PREFIX = "connection-pool-";
public static final String SERVER_TIMEZONE_KEY = "serverTimezone";
public static final int MINIMUM_IDLE_SIZE = 1;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about MINIMUM_POOL_SIZE ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @leonardBang, renamed.

Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Jiabao-Sun , LGTM

@leonardBang leonardBang merged commit 5c924ee into apache:master Dec 16, 2021
leonardBang pushed a commit to leonardBang/flink-cdc-connectors that referenced this pull request Dec 16, 2021
@leonardBang leonardBang added this to the V2.2.0 milestone Dec 17, 2021
@Jiabao-Sun Jiabao-Sun deleted the minimum-idle branch February 17, 2022 15:17
ChaomingZhangCN pushed a commit to ChaomingZhangCN/flink-cdc that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants