From 463ab6b6f36a13f7060c0a24be41c785e4c2f5c8 Mon Sep 17 00:00:00 2001 From: divyam234 <47589864+divyam234@users.noreply.github.com> Date: Wed, 13 Sep 2023 12:35:57 +0000 Subject: [PATCH] update --- services/upload.service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/upload.service.go b/services/upload.service.go index bed7285..6b8cb36 100644 --- a/services/upload.service.go +++ b/services/upload.service.go @@ -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))