Reduce batch size in migration

This commit is contained in:
laurenspriem
2025-05-22 10:38:43 +05:30
parent 7021c9fe02
commit beb049f817

View File

@@ -1215,7 +1215,7 @@ class MLDataDB with SqlDbBase implements IMLDataDB<int> {
_logger
.info("Starting migration of $totalCount clip embeddings to vector DB");
const batchSize = 5000;
const batchSize = 1000;
int offset = 0;
int processedCount = 0;
int weirdCount = 0;