mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix(plugin-file-manager): add oss timeout option default to 10min (#6795)
This commit is contained in:
parent
a28e1d2c39
commit
3b1b4cfef5
@ -32,6 +32,7 @@ export default class extends StorageType {
|
|||||||
return new createAliOssStorage({
|
return new createAliOssStorage({
|
||||||
config: this.storage.options,
|
config: this.storage.options,
|
||||||
filename: cloudFilenameGetter(this.storage),
|
filename: cloudFilenameGetter(this.storage),
|
||||||
|
timeout: this.storage.options.timeout || 600_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
async delete(records: AttachmentModel[]): Promise<[number, AttachmentModel[]]> {
|
async delete(records: AttachmentModel[]): Promise<[number, AttachmentModel[]]> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user