From 9182a58192c3454fc45332dcb310d9a1b1029378 Mon Sep 17 00:00:00 2001 From: Vadzim_Kavalkou Date: Fri, 24 Nov 2023 14:05:39 +0300 Subject: [PATCH] Virtual threads added to Tomcat support. --- spring-boot-web-native/src/main/resources/application.yml | 5 ++++- spring-boot-web/src/main/resources/application.yml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/spring-boot-web-native/src/main/resources/application.yml b/spring-boot-web-native/src/main/resources/application.yml index 8532f4a6..07e4c87d 100644 --- a/spring-boot-web-native/src/main/resources/application.yml +++ b/spring-boot-web-native/src/main/resources/application.yml @@ -7,6 +7,9 @@ server: min-spare: 4 spring: + threads: + virtual: + enabled: true main: banner-mode: off cache: @@ -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: diff --git a/spring-boot-web/src/main/resources/application.yml b/spring-boot-web/src/main/resources/application.yml index 7294c3d1..55e988dd 100644 --- a/spring-boot-web/src/main/resources/application.yml +++ b/spring-boot-web/src/main/resources/application.yml @@ -7,6 +7,9 @@ server: # worker: 8 # default: 8 spring: + threads: + virtual: + enabled: true main: banner-mode: off cache: