refactor: update GenericLoader to use ProcessBatchWithRetries; enhance error handling and retry logic
This commit is contained in:
@@ -38,7 +38,7 @@ func (gl *GenericLoader) Consume(
|
||||
return
|
||||
}
|
||||
|
||||
processedRows, err := gl.ProcessBatch(ctx, tableInfo, colNames, batch)
|
||||
processedRows, err := gl.ProcessBatchWithRetries(ctx, tableInfo, colNames, retryConfig, batch)
|
||||
wgActiveBatches.Done()
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user