Skip to content

Commit

Permalink
chore: Executor pool core-size 설정 추가 #369
Browse files Browse the repository at this point in the history
  • Loading branch information
jhon3242 committed Oct 24, 2024
1 parent 8855ab8 commit 683aa2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ spring:
format_sql: true
default_batch_fetch_size: 1000

task:
execution:
pool:
core-size: ${secret.spring.task.execution.pool.core-size}

cors:
origin: ${secret.cors.origin}

Expand Down
6 changes: 6 additions & 0 deletions backend/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
spring:
config:
import: prod-secret.yml

datasource:
source:
driver-class-name: com.mysql.cj.jdbc.Driver
Expand All @@ -26,6 +27,11 @@ spring:
jdbc:
batch_size: 1000

task:
execution:
pool:
core-size: ${secret.spring.task.execution.pool.core-size}

server:
port: ${secret.application.port}

Expand Down

0 comments on commit 683aa2a

Please sign in to comment.