mirror of
https://github.com/tgdrive/teldrive.git
synced 2025-01-09 00:29:57 +08:00
update
This commit is contained in:
parent
84f472b37c
commit
463ab6b6f3
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ func (us *UploadService) UploadFile(c *gin.Context) (*schemas.UploadPartOut, *ty
|
|||
|
||||
api := client.API()
|
||||
|
||||
u := uploader.NewUploader(api).WithThreads(8).WithPartSize(512 * 1024)
|
||||
u := uploader.NewUploader(api).WithThreads(10).WithPartSize(512 * 1024)
|
||||
|
||||
upload, err := u.Upload(c, uploader.NewUpload(fileName, file, fileSize))
|
||||
|
||||
|
|
Loading…
Reference in a new issue