From 9d3fc3a366cfac80d9ce29b4710fc157cdeef73d Mon Sep 17 00:00:00 2001 From: YangXu <2945065490@qq.com> Date: Sun, 13 Oct 2024 18:25:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(aliyundrive=5Fopen):=20=E5=B0=9D=E8=AF=95?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=A4=9A=E7=BA=BF=E7=A8=8B=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?-tv=E6=8E=A5=E5=8F=A3-=E6=9C=AC=E6=9C=BA=E4=BB=A3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- drivers/aliyundrive_open/driver.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/aliyundrive_open/driver.go b/drivers/aliyundrive_open/driver.go index 4029ad57c37..2aabde7c780 100644 --- a/drivers/aliyundrive_open/driver.go +++ b/drivers/aliyundrive_open/driver.go @@ -95,8 +95,10 @@ func (d *AliyundriveOpen) link(ctx context.Context, file model.Obj) (*model.Link } exp := time.Minute return &model.Link{ - URL: url, - Expiration: &exp, + URL: url, + Expiration: &exp, + Concurrency: 5, + PartSize: 10 * utils.MB, }, nil }