Skip to content

Commit

Permalink
feat: enable virtual threads
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasM95 committed Jun 12, 2024
1 parent 66f69db commit 8c810e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,14 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<env>
<BP_JVM_VERSION>21</BP_JVM_VERSION>
<BP_JVM_CDS_ENABLED>true</BP_JVM_CDS_ENABLED>
</env>
</image>
</configuration>
</plugin>
<plugin>
<groupId>org.openapitools</groupId>
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
spring.application.name=skoda-api
spring.threads.virtual.enabled=true

# Health check
management.endpoint.health.probes.enabled=true
management.health.livenessState.enabled=true
Expand Down

0 comments on commit 8c810e7

Please sign in to comment.