Commit 4ae3397d by 林冲

批量改为10w

1 parent d19bf3e0
...@@ -1026,7 +1026,7 @@ class SceneSplitProcessor: ...@@ -1026,7 +1026,7 @@ class SceneSplitProcessor:
self.logger.info(f" 收集到 {total_count} 条需要插入的记录") self.logger.info(f" 收集到 {total_count} 条需要插入的记录")
# 批量插入 # 批量插入
batch_size = 10000 batch_size = 100000
total_batches = (total_count + batch_size - 1) // batch_size total_batches = (total_count + batch_size - 1) // batch_size
self.logger.info(f" 开始批量插入,共 {total_batches} 个批次,每批 {batch_size} 条") self.logger.info(f" 开始批量插入,共 {total_batches} 个批次,每批 {batch_size} 条")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!