Skip to content

Commit 3960f90

Browse files
Update writer.go
1 parent 365d834 commit 3960f90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/writer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,11 +1867,11 @@ func countBatchFiles(dir string) int {
18671867
}
18681868

18691869
func min500(batchIdx, total int) int {
1870-
start := (batchIdx - 1) * 1000
1870+
start := (batchIdx - 1) * 333
18711871
if start >= total {
18721872
return 0
18731873
}
1874-
end := start + 1000
1874+
end := start + 333
18751875
if end > total {
18761876
return total - start
18771877
}

0 commit comments

Comments
 (0)