From fb6b90582b184634c12903f1f7d84e8ecd0194f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Sun, 12 Nov 2023 09:04:46 +0100 Subject: [PATCH 1/2] Ensuring to actually enable virtual threads --- client/idrepo/console/src/main/resources/console.properties | 2 ++ client/idrepo/enduser/src/main/resources/enduser.properties | 2 ++ core/starter/src/main/resources/core.properties | 2 ++ sra/src/main/resources/sra.properties | 2 ++ wa/starter/src/main/resources/wa.properties | 2 ++ 5 files changed, 10 insertions(+) diff --git a/client/idrepo/console/src/main/resources/console.properties b/client/idrepo/console/src/main/resources/console.properties index abe4de50f8..c467152063 100644 --- a/client/idrepo/console/src/main/resources/console.properties +++ b/client/idrepo/console/src/main/resources/console.properties @@ -33,6 +33,8 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED service.discovery.address=http://localhost:8080/syncope-console/ +spring.threads.virtual.enabled=true + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=30s diff --git a/client/idrepo/enduser/src/main/resources/enduser.properties b/client/idrepo/enduser/src/main/resources/enduser.properties index 2c1e1c56e8..a28f5d11d2 100644 --- a/client/idrepo/enduser/src/main/resources/enduser.properties +++ b/client/idrepo/enduser/src/main/resources/enduser.properties @@ -33,6 +33,8 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED service.discovery.address=http://localhost:8080/syncope-enduser/ +spring.threads.virtual.enabled=true + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=30s diff --git a/core/starter/src/main/resources/core.properties b/core/starter/src/main/resources/core.properties index be5bc0abfd..e4c74e5bc3 100644 --- a/core/starter/src/main/resources/core.properties +++ b/core/starter/src/main/resources/core.properties @@ -33,6 +33,8 @@ management.endpoint.env.show-values=WHEN_AUTHORIZED service.discovery.address=http://localhost:8080/syncope/rest/ +spring.threads.virtual.enabled=true + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=30s diff --git a/sra/src/main/resources/sra.properties b/sra/src/main/resources/sra.properties index ea56675260..eb3ae97a2a 100644 --- a/sra/src/main/resources/sra.properties +++ b/sra/src/main/resources/sra.properties @@ -28,6 +28,8 @@ spring.cloud.discovery.client.health-indicator.enabled=false service.discovery.address=http://localhost:8080/ +spring.threads.virtual.enabled=true + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=30s diff --git a/wa/starter/src/main/resources/wa.properties b/wa/starter/src/main/resources/wa.properties index 8d83a151cc..501775bf04 100644 --- a/wa/starter/src/main/resources/wa.properties +++ b/wa/starter/src/main/resources/wa.properties @@ -59,6 +59,8 @@ spring.main.lazy-initialization=false service.discovery.address=http://localhost:8080/syncope-wa/ +spring.threads.virtual.enabled=true + server.shutdown=graceful spring.lifecycle.timeout-per-shutdown-phase=30s From 3d8ffb3ab429e5ed70bc91d94c2a05bb2ba7b0d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Thu, 23 Nov 2023 16:25:42 +0100 Subject: [PATCH 2/2] Upgrading Spring Boot --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0d605b5ea6..136551a2b6 100644 --- a/pom.xml +++ b/pom.xml @@ -413,7 +413,7 @@ under the License. 1.77 9.37.1 - 3.2.0-RC2 + 3.2.0 4.1.0-RC1 4.0.0-SNAPSHOT