feat: refactor error handling to accept max retry attempts as a parameter for improved flexibility
This commit is contained in:
@@ -20,6 +20,7 @@ func (e *LoaderError) Error() string {
|
||||
|
||||
func loaderErrorHandler(
|
||||
ctx context.Context,
|
||||
maxRetryAttempts int,
|
||||
chErrorsIn <-chan LoaderError,
|
||||
chChunksOut chan<- models.Chunk,
|
||||
chJobErrorsOut chan<- custom_errors.JobError,
|
||||
|
||||
Reference in New Issue
Block a user