Browse Source

@aws-s3-multipart: remove unused `timeout` option (#4186)

Antoine du Hamel 2 năm trước cách đây
mục cha
commit
0a97da3107

+ 0 - 1
packages/@uppy/aws-s3-multipart/src/index.js

@@ -32,7 +32,6 @@ export default class AwsS3Multipart extends BasePlugin {
     this.#client = new RequestClient(uppy, opts)
 
     const defaultOptions = {
-      timeout: 30 * 1000,
       limit: 0,
       retryDelays: [0, 1000, 3000, 5000],
       createMultipartUpload: this.createMultipartUpload.bind(this),

+ 0 - 1
packages/@uppy/aws-s3-multipart/types/index.d.ts

@@ -32,7 +32,6 @@ export interface AwsS3MultipartOptions extends PluginOptions {
       file: UppyFile,
       opts: { uploadId: string; key: string; parts: AwsS3Part[] }
     ) => MaybePromise<{ location?: string }>
-    timeout?: number
     limit?: number
     retryDelays?: number[] | null
 }