Feat: support chunk size option in policy

This commit is contained in:
HFO4
2022-02-10 19:31:06 +08:00
parent de9c41082c
commit 8443a30fb1
5 changed files with 25 additions and 12 deletions

View File

@@ -184,6 +184,7 @@ func (fs *FileSystem) CreateUploadSession(ctx context.Context, path string, size
Name: name,
Size: size,
SavePath: savePath,
ChunkSize: fs.Policy.OptionsSerialized.ChunkSize,
}
// 获取上传凭证