定位太快消费的问题

This commit is contained in:
ZLI263
2025-09-20 22:22:35 +08:00
parent 812ab05ed0
commit 2217027d26

View File

@@ -74,7 +74,7 @@ public class TmNameplateCorpusServiceImpl extends ServiceImpl<TmNameplateCorpusM
@Resource(name = "threadPoolTaskExecutor")
private ThreadPoolTaskExecutor executor;
@Value("${batch.threadNum}")
int threadNum ;
int threadNum =2;
private Semaphore semaphore = new Semaphore(threadNum); // 限制并发数