优化同步成绩

This commit is contained in:
zhy
2025-10-11 10:56:23 +08:00
parent c911be9fbc
commit 818a6f9911
6 changed files with 457 additions and 119 deletions

View File

@@ -0,0 +1,13 @@
# 数据同步配置
sync:
student-score:
# 分页大小,建议根据内存和数据库性能调整
page-size: 3000
# Web接口线程池大小建议不超过CPU核心数*2
web-thread-pool-size: 10
# 定时任务线程池大小建议不超过CPU核心数
scheduled-thread-pool-size: 8
# 同步超时时间(分钟)
timeout-minutes: 300
# 批量插入大小建议根据数据库性能调整MySQL建议1000-2000
batch-insert-size: 1000