|
|
@@ -8,8 +8,6 @@ import org.springframework.boot.autoconfigure.AutoConfiguration;
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.PropertySource;
|
|
|
-import org.springframework.core.task.AsyncTaskExecutor;
|
|
|
-import org.springframework.core.task.VirtualThreadTaskExecutor;
|
|
|
|
|
|
/**
|
|
|
* dubbo 配置类
|
|
|
@@ -35,9 +33,4 @@ public class DubboConfiguration {
|
|
|
return new DubboExceptionHandler();
|
|
|
}
|
|
|
|
|
|
- @Bean
|
|
|
- public AsyncTaskExecutor virtualThreadExecutor() {
|
|
|
- return new VirtualThreadTaskExecutor("dubbo-");
|
|
|
- }
|
|
|
-
|
|
|
}
|