feat(db): increase defaults

This commit is contained in:
2025-11-14 15:30:01 +02:00
parent 05a78913c0
commit c155dafef4
+2 -2
View File
@@ -42,8 +42,8 @@ class Engine {
max: 16, max: 16,
}); });
this.ignore = { ...DEFAULT_IGNORE, ...(this.targetOptions.ignoreColumns ?? {}) }; this.ignore = { ...DEFAULT_IGNORE, ...(this.targetOptions.ignoreColumns ?? {}) };
this.pageSize = this.targetOptions.pageSize ?? 1000; this.pageSize = this.targetOptions.pageSize ?? 5000;
this.batchSize = Math.max(1, this.targetOptions.batchSize ?? 50); this.batchSize = Math.max(1, this.targetOptions.batchSize ?? 500);
console.log( console.log(
`Engine initialized with pageSize=${this.pageSize} and batchSize=${this.batchSize} (resume=${this.resume})`, `Engine initialized with pageSize=${this.pageSize} and batchSize=${this.batchSize} (resume=${this.resume})`,
); );