-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RelationalStorage): modify HikariCP config (#422)
增加RelationalStorage中HikariCP的最大连接数至20 将RelationalStorage中的HikariDataSource连接池的配置设置为可选参数,可在add storageengine时配置 connection_timeout:连接超时时间,默认为30000,单位毫秒 idle_timeout:空闲连接超时时间,默认为10000,单位毫秒 maximum_pool_size:连接池中的最大连接数,默认为20 minimum_idle:连接池中的最小空闲连接数,默认为1 leak_detection_threshold:检测连接泄漏的阈值,默认为2500,单位毫秒 prep_stmt_cache_size:SQL预编译对象缓存个数,默认为250 prep_stmt_cache_sql_limit:SQL预编译对象缓存个数上限,默认为2048
- Loading branch information
Showing
3 changed files
with
39 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters