From 237251596a27b0fac4b5112c7b735ef2ff0e6385 Mon Sep 17 00:00:00 2001 From: "antonio.torre" Date: Wed, 8 Jan 2025 15:04:25 +0100 Subject: [PATCH] enabling virtual threads --- src/main/resources/application.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 048e098..fba9057 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -3,6 +3,9 @@ spring: name: ${artifactId} version: ${version} jmx.enabled: true + threads: + virtual: + enabled: "\${VIRTUAL_THREADS_ENABLED:true}" data: pu: jdbc-url: "jdbc:postgresql://\${PU_DB_HOST}:\${PU_DB_PORT:5432}/\${PU_DB_NAME:dbname}"