File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -586,19 +586,19 @@ func submitHalfBatch[T any](
586586 return 0 , nil
587587}
588588
589- // BatchAction represents the action to take after processing a batch
590- type BatchAction int
589+ // batchAction represents the action to take after processing a batch
590+ type batchAction int
591591
592592const (
593- batchActionSubmitted BatchAction = iota // Batch was successfully submitted
593+ batchActionSubmitted batchAction = iota // Batch was successfully submitted
594594 batchActionTooBig // Batch is too big and needs to be handled by caller
595595 batchActionSkip // Batch should be skipped (single item too big)
596596 batchActionFail // Unrecoverable error
597597)
598598
599599// batchResult contains the result of processing a batch
600600type batchResult [T any ] struct {
601- action BatchAction
601+ action batchAction
602602 submittedCount int
603603 splitBatches []submissionBatch [T ]
604604}
You can’t perform that action at this time.
0 commit comments