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:
parent
4a78a1e319
commit
aebbcfd4f1
|
@ -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
|
||||
|
||||
|
|
Reference in New Issue
Block a user