This commit is contained in:
divyam234 2023-09-13 12:35:57 +00:00
parent 84f472b37c
commit 463ab6b6f3

View file

@ -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))