文件名从 ruoyi-framework/src/main/java/com/ruoyi/framework/config/ThreadPoolConfig.java 修改 |
| | |
| | | package com.ruoyi.framework.config; |
| | | package com.ruoyi.common.core.config; |
| | | |
| | | import com.ruoyi.common.utils.Threads; |
| | | import com.ruoyi.framework.config.properties.ThreadPoolProperties; |
| | | import com.ruoyi.common.core.config.properties.ThreadPoolProperties; |
| | | import com.ruoyi.common.core.utils.Threads; |
| | | import org.apache.commons.lang3.concurrent.BasicThreadFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.autoconfigure.AutoConfiguration; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
| | | import org.springframework.context.annotation.Bean; |
| | | import org.springframework.context.annotation.Configuration; |
| | | import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor; |
| | | |
| | | import java.util.concurrent.ScheduledExecutorService; |
| | |
| | | * |
| | | * @author Lion Li |
| | | **/ |
| | | @Configuration |
| | | @AutoConfiguration |
| | | public class ThreadPoolConfig { |
| | | |
| | | /** |