client: remove debug logs

Change-Id: Iba67ff3daceb17766d17337d8b84e58ed3e96ab7
This commit is contained in:
Brad Fitzpatrick 2013-02-02 22:27:54 -08:00
parent 9e34a07b91
commit bdfc5b0c6c
1 changed files with 3 additions and 2 deletions

View File

@ -265,7 +265,9 @@ func (c *Client) doSomeStats() {
} }
c.pendStatMu.Unlock() c.pendStatMu.Unlock()
println("doing stat batch of", len(batch)) if debugUploads {
println("doing stat batch of", len(batch))
}
blobs := make([]*blobref.BlobRef, 0, len(batch)) blobs := make([]*blobref.BlobRef, 0, len(batch))
for _, reqs := range batch { for _, reqs := range batch {
@ -287,7 +289,6 @@ func (c *Client) doSomeStats() {
for sb := range ourDest { for sb := range ourDest {
for _, req := range batch[sb.BlobRef.String()] { for _, req := range batch[sb.BlobRef.String()] {
req.dest <- sb req.dest <- sb
println("did stat for", sb.Size)
} }
} }