mirror of https://github.com/perkeep/perkeep.git
increase the enumeration batch size
This commit is contained in:
parent
a87ff50a5b
commit
12e3730294
|
@ -33,7 +33,7 @@ func (c *Client) EnumerateBlobs(ch chan *blobref.SizedBlobRef) os.Error {
|
|||
return c.EnumerateBlobsOpts(ch, EnumerateOpts{})
|
||||
}
|
||||
|
||||
const enumerateBatchSize = 10
|
||||
const enumerateBatchSize = 1000
|
||||
|
||||
// Note: closes ch.
|
||||
func (c *Client) EnumerateBlobsOpts(ch chan *blobref.SizedBlobRef, opts EnumerateOpts) os.Error {
|
||||
|
|
Loading…
Reference in New Issue