refactor: enhance retry handling in extractor processes; unify backoff delay computation
This commit is contained in:
@@ -19,6 +19,7 @@ func (ex *GenericExtractor) Consume(
|
||||
tableInfo config.SourceTableInfo,
|
||||
columns []models.ColumnType,
|
||||
batchSize int,
|
||||
retryConfig config.RetryConfig,
|
||||
chPartitionsIn <-chan models.Partition,
|
||||
chBatchesOut chan<- models.Batch,
|
||||
chErrorsOut chan<- custom_errors.JobError,
|
||||
@@ -62,6 +63,7 @@ func (ex *GenericExtractor) Consume(
|
||||
batchSize,
|
||||
partition,
|
||||
indexPrimaryKey,
|
||||
retryConfig,
|
||||
chBatchesOut,
|
||||
)
|
||||
wgActivePartitions.Done()
|
||||
|
||||
Reference in New Issue
Block a user