新增MySQL和pg数据库的同步

This commit is contained in:
2025-08-27 09:52:25 +08:00
parent cb1b6f9349
commit 8a2218b3a8
3 changed files with 286 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ public class springBean {
executor.setCorePoolSize(core * 2);
executor.setMaxPoolSize(core * 4);
executor.setQueueCapacity(200);
executor.setThreadNamePrefix("host-disk-");
executor.setThreadNamePrefix("host-task-");
executor.setRejectedExecutionHandler(new ThreadPoolExecutor.CallerRunsPolicy());
executor.initialize();
return executor;