09-29-上传时间改为120秒,上传时删除原文件使用日志记录
This commit is contained in:
@ -183,7 +183,7 @@ public class OssClient {
|
||||
// 创建异步请求体(length如果为空会报错)
|
||||
BlockingInputStreamAsyncRequestBody body = BlockingInputStreamAsyncRequestBody.builder()
|
||||
.contentLength(length)
|
||||
.subscribeTimeout(Duration.ofSeconds(30))
|
||||
.subscribeTimeout(Duration.ofSeconds(120)) // 增加超时时间到120秒
|
||||
.build();
|
||||
|
||||
// 使用 transferManager 进行上传
|
||||
|
||||
Reference in New Issue
Block a user