Skip to content

Commit

Permalink
rename Scan.Parallel → Segment
Browse files Browse the repository at this point in the history
  • Loading branch information
guregu committed Mar 22, 2023
1 parent 7f4304e commit 1fa0c79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ func (s *Scan) Index(name string) *Scan {
return s
}

// Parallel specifies the Segment and Total Segments to operate on in a parallel scan.
func (s *Scan) Parallel(segment int64, totalSegments int64) *Scan {
// Segment specifies the Segment and Total Segments to operate on in a parallel scan.
func (s *Scan) Segment(segment int64, totalSegments int64) *Scan {
s.segment = segment
s.totalSegments = totalSegments
return s
Expand Down

0 comments on commit 1fa0c79

Please sign in to comment.