Browse Source

cleanup tmp upload directories

pull/747/head
Chris Lu 6 years ago
parent
commit
f628953c33
  1. 5
      weed/s3api/filer_multipart.go

5
weed/s3api/filer_multipart.go

@ -102,6 +102,10 @@ func (s3a *S3ApiServer) completeMultipartUpload(input *s3.CompleteMultipartUploa
},
}
if err = s3a.rm(s3a.genUploadsFolder(*input.Bucket), *input.UploadId, true, false, true); err != nil {
glog.V(1).Infof("completeMultipartUpload cleanup %s upload %s: %v", *input.Bucket, *input.UploadId, err)
}
return
}
@ -155,6 +159,7 @@ func (s3a *S3ApiServer) listMultipartUploads(input *s3.ListMultipartUploadsInput
})
}
}
return
}

Loading…
Cancel
Save