Skip to content

Commit

Permalink
fix: 비동기 설정 클래스 proxyTargetClass 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
wonslee committed Feb 11, 2024
1 parent d128186 commit 772e572
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/usw/suwiki/global/config/AsyncConfig.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package usw.suwiki.global.config;

import java.util.concurrent.Executor;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.AsyncConfigurer;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;

import java.util.concurrent.Executor;

@Configuration
@EnableAsync
@EnableAsync(proxyTargetClass = true)
public class AsyncConfig implements AsyncConfigurer {

@Override
Expand Down

0 comments on commit 772e572

Please sign in to comment.