feat: enhance batch processing by adding rowsPerBatch parameter and improving logging messages

This commit is contained in:
2026-04-09 19:46:45 -05:00
parent 524d892a60
commit 0d9f955b2f
3 changed files with 17 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ func loadChunkPostgres(
select {
case chJobErrorsOut <- JobError{
ShouldCancelJob: true,
Msg: fmt.Sprintf("Fatal data integrity error in table %s", identifier.Sanitize()),
Msg: fmt.Sprintf("Fatal error in table %s", identifier.Sanitize()),
Prev: err,
}:
case <-ctx.Done():