increase the enumeration batch size

This commit is contained in:
Brad Fitzpatrick 2011-03-12 20:44:01 -08:00
parent a87ff50a5b
commit 12e3730294
1 changed files with 1 additions and 1 deletions

View File

@ -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 {