feat: refactor chunk handling in extractor and transformer for improved data processing
This commit is contained in:
@@ -48,7 +48,7 @@ func processMigrationJob(sourceDb *sql.DB, targetDb *pgxpool.Pool, job Migration
|
||||
extractorErrorHandler(chExtractorErrors, chBatches, chJobErrors)
|
||||
}()
|
||||
|
||||
chChunks := make(chan []UnknownRowValues, QueueSize)
|
||||
chChunks := make(chan Chunk, QueueSize)
|
||||
maxExtractors := min(NumExtractors, len(batches))
|
||||
var wgMssqlExtractors sync.WaitGroup
|
||||
|
||||
|
||||
Reference in New Issue
Block a user