remove AWS managed upload system for a simpler one

This commit is contained in:
Nicolas Raynaud
2021-05-14 16:11:42 +02:00
parent 2329705ad7
commit b7481f42cd

View File

@@ -99,13 +99,6 @@ export default class S3Handler extends RemoteHandlerAbstract {
await this._s3.abortMultipartUpload(multipartParams)
throw e
}
await this._s3.upload(
{
...this._createParams(path),
Body: input,
},
{ partSize: IDEAL_FRAGMENT_SIZE, queueSize: 1 }
)
if (validator !== undefined) {
try {
await validator.call(this, path)