Skip to content

Commit

Permalink
Revert "Implement Virtual Threads"
Browse files Browse the repository at this point in the history
This reverts commit c52e2c8.
  • Loading branch information
mr-w1lde committed Nov 6, 2024
1 parent c52e2c8 commit 86dd925
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 36 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class SecurityThreadConfiguration {
@Bean(SESSION_THREAD_POOL_TASK_EXECUTOR)
public Executor sessionThreadPoolTaskExecutor() {
final var corePoolUpdateSize = securityConfig.getSession().getCorePoolUpdateSize();
final var executor = new ThreadPoolTaskExecutor();
ThreadPoolTaskExecutor executor = new ThreadPoolTaskExecutor();
executor.setCorePoolSize(corePoolUpdateSize);
executor.setMaxPoolSize(corePoolUpdateSize);
executor.setThreadNamePrefix("session-thread-");
Expand Down
4 changes: 0 additions & 4 deletions application/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ server:
port: ${BACKEND_SERVER_PORT:9090}

spring:
threads:
virtual:
enabled: true
thread-executor: virtual
jpa:
open-in-view: false
application:
Expand Down

0 comments on commit 86dd925

Please sign in to comment.