Browse Source

adjust log

pull/3472/head
chrislu 2 years ago
parent
commit
649555b223
  1. 2
      weed/operation/upload_content.go

2
weed/operation/upload_content.go

@ -161,7 +161,7 @@ func retriedUploadData(data []byte, option *UploadOption) (uploadResult *UploadR
uploadResult.RetryCount = i uploadResult.RetryCount = i
return return
} else { } else {
glog.Warningf("uploading to %s: %v", option.UploadUrl, err)
glog.Warningf("uploading %d to %s: %v", i, option.UploadUrl, err)
} }
time.Sleep(time.Millisecond * time.Duration(237*(i+1))) time.Sleep(time.Millisecond * time.Duration(237*(i+1)))
} }

Loading…
Cancel
Save