fix(plugin-file-manager): add oss timeout option default to 10min (#6795)

This commit is contained in:
Junyi 2025-04-28 19:48:18 +08:00 committed by GitHub
parent a28e1d2c39
commit 3b1b4cfef5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,6 +32,7 @@ export default class extends StorageType {
return new createAliOssStorage({
config: this.storage.options,
filename: cloudFilenameGetter(this.storage),
timeout: this.storage.options.timeout || 600_000,
});
}
async delete(records: AttachmentModel[]): Promise<[number, AttachmentModel[]]> {