Skip to content

Commit

Permalink
uploader4: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lovehunter9 committed Aug 14, 2024
1 parent f21fad6 commit 50c3593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/upload/app/handler4.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ func (a *appController) UploadChunks(c *fiber.Ctx) error {
models.NewResponse(1, "Unsupported file size", nil))
}

info.FileSize = resumableInfo.ResumableTotalSize
a.server.fileInfoMgr.UpdateInfo(innerIdentifier, info)

//Generate unique Upload-ID
//uploadID := uid.MakeUid(uploadInfo.FullPath)
oExist, oInfo := a.server.fileInfoMgr.ExistFileInfo(innerIdentifier)
Expand Down

0 comments on commit 50c3593

Please sign in to comment.