Skip to content

Commit

Permalink
fix (deadlock in acceptance environements) solve deadlocks of apps di…
Browse files Browse the repository at this point in the history
…sabling virtual threads : (#723)

- Virtual threads are not supported by apache http components 4.4.16 (https://issues.apache.org/jira/browse/HTTPCORE-746) which is brought by rdf4j
- other workaround possible : -Djdk.virtualThreadScheduler.parallelism=20 (instead of default value of 1)

Co-authored-by: Bibonne Fabrice <[email protected]>
  • Loading branch information
FBibonne and Bibonne Fabrice authored Aug 6, 2024
1 parent f121a3c commit d28f2ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<groupId>fr.insee.rmes</groupId>
<artifactId>Bauhaus-BO</artifactId>
<packaging>jar</packaging>
<version>3.26.2</version>
<version>3.26.4</version>
<name>Bauhaus-Back-Office</name>
<description>Back-office services for Bauhaus</description>
<url>https://github.com/InseeFr/Bauhaus-Back-Office</url>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spring.servlet.multipart.max-request-size=40MB

fr.insee.rmes.bauhaus.version=@project.version@

spring.threads.virtual.enabled=true
spring.threads.virtual.enabled=false

springdoc.swagger-ui.path=/index.html
server.servlet.contextPath=/api/
Expand Down

0 comments on commit d28f2ca

Please sign in to comment.