feat: improve error handling and job cancellation in migration process

This commit is contained in:
2026-04-09 00:38:16 -05:00
parent 51480015ba
commit b64a76ca45
4 changed files with 31 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ var migrationJobs []MigrationJob = []MigrationJob{
const (
NumExtractors int = 4
NumLoaders int = 8
ChunkSize int = 50000
ChunkSize int = 25000
QueueSize int = 8
ChunksPerBatch int = 16
RowsPerBatch int64 = int64(ChunkSize * ChunksPerBatch)