nit: clean batch capacity (#17)

Since we discussed this in #14 (comment)

It doesn't really matter.

Reviewed-on: #17
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
Co-committed-by: zimbatm <zimbatm@zimbatm.com>
This commit is contained in:
Jonas Chevalier 2024-01-03 10:39:55 +00:00 committed by Brian McGee
parent 4a78a1e319
commit aebbcfd4f1

View File

@ -110,8 +110,7 @@ func (f *Format) Run() error {
// update cache as paths are completed
eg.Go(func() error {
batchSize := 1024
batch := make([]string, batchSize)
batch = batch[:0]
batch := make([]string, 0, batchSize)
var pending, completed, changes int