fix: 文件切片操作超时时间统一60s
This commit is contained in:
@@ -171,6 +171,7 @@ export function chunkCheck(identifier: string, fileName: string) {
|
|||||||
url: '/file/chunkCheck',
|
url: '/file/chunkCheck',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: { identifier, fileName },
|
data: { identifier, fileName },
|
||||||
|
timeout: 60_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,6 +191,7 @@ export function chunkMerge(
|
|||||||
url: '/file/chunkMerge',
|
url: '/file/chunkMerge',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: { identifier, fileName, subPath },
|
data: { identifier, fileName, subPath },
|
||||||
|
timeout: 60_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -217,6 +219,7 @@ export function transferStaticFile(data: Record<string, any>) {
|
|||||||
url: `/file/transferStaticFile`,
|
url: `/file/transferStaticFile`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data,
|
data,
|
||||||
|
timeout: 60_000,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user