|
|
|
@ -4,6 +4,7 @@ import cn.hutool.core.thread.ThreadUtil;
|
|
|
|
|
import jakarta.annotation.PostConstruct;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
|
import java.util.concurrent.ExecutorService;
|
|
|
|
|
|
|
|
|
@ -11,6 +12,7 @@ import java.util.concurrent.ExecutorService;
|
|
|
|
|
* 笔录分类线程池
|
|
|
|
|
*/
|
|
|
|
|
@Slf4j
|
|
|
|
|
@Component
|
|
|
|
|
public class RecordSplitTypeThreadPool {
|
|
|
|
|
@Value("${fu-hsi-config.thread-pool.type.core:2}")
|
|
|
|
|
private int core;
|
|
|
|
|