Skip to content

Commit

Permalink
buffer filestore verify/list output
Browse files Browse the repository at this point in the history
we might as well work ahead a bit

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
  • Loading branch information
Stebalien committed Jul 26, 2018
1 parent 98d204b commit 23f5cd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filestore/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func listAll(ctx context.Context, fs *Filestore, verify bool) (<-chan *ListRes,
return nil, err
}

output := make(chan *ListRes)
output := make(chan *ListRes, 64)
var wg sync.WaitGroup
wg.Add(listWorkers)
qrCh := qr.Next()
Expand Down

0 comments on commit 23f5cd4

Please sign in to comment.