Skip to content

Commit

Permalink
[DSIP-31] Reduce the thread pool size of hikari (apache#15890)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanwenjun authored Apr 22, 2024
1 parent 6c78c8e commit e2c8b08
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1

# Mybatis-plus configuration, you don't need to change it
mybatis-plus:
Expand Down
8 changes: 0 additions & 8 deletions dolphinscheduler-api/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1
quartz:
auto-startup: false
job-store-type: jdbc
Expand Down
8 changes: 0 additions & 8 deletions dolphinscheduler-master/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1
quartz:
job-store-type: jdbc
jdbc:
Expand Down
8 changes: 0 additions & 8 deletions dolphinscheduler-tools/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1

# Mybatis-plus configuration, you don't need to change it
mybatis-plus:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1

mybatis-plus:
mapper-locations: classpath:org/apache/dolphinscheduler/dao/mapper/*Mapper.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,7 @@ spring:
password: root
hikari:
connection-test-query: select 1
minimum-idle: 5
auto-commit: true
validation-timeout: 3000
pool-name: DolphinScheduler
maximum-pool-size: 50
connection-timeout: 30000
idle-timeout: 600000
leak-detection-threshold: 0
initialization-fail-timeout: 1

mybatis-plus:
mapper-locations: classpath:org/apache/dolphinscheduler/dao/mapper/*Mapper.xml
Expand Down

0 comments on commit e2c8b08

Please sign in to comment.