Skip to content

Commit

Permalink
Virtual threads added to Tomcat support.
Browse files Browse the repository at this point in the history
  • Loading branch information
vadzimkavalkou committed Nov 24, 2023
1 parent d21257c commit 9182a58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spring-boot-web-native/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ server:
min-spare: 4

spring:
threads:
virtual:
enabled: true
main:
banner-mode: off
cache:
Expand All @@ -17,7 +20,7 @@ spring:
bootstrap-mode: default
datasource:
driverClassName: org.postgresql.Driver
url: "jdbc:postgresql://postgres-a2b:5432/a2b?currentSchema=a2b" #for local solution replace 'postgres-a2b' with localhost and port '5432' to '5433'
url: "jdbc:postgresql://postgres-a2b:5432/a2b?currentSchema=a2b" # for local solution replace 'postgres-a2b' with localhost and port '5432' to '5433'
username: "postgres"
password: "postgres"
hikari:
Expand Down
3 changes: 3 additions & 0 deletions spring-boot-web/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ server:
# worker: 8 # default: 8

spring:
threads:
virtual:
enabled: true
main:
banner-mode: off
cache:
Expand Down

0 comments on commit 9182a58

Please sign in to comment.