Skip to content

Conversation

lohanidamodar
Copy link
Member

@lohanidamodar lohanidamodar commented Feb 13, 2022

  • Adds resumable upload support to chunked files
    • When fileId is provided during createFile, checks if the file already exists
    • if the file already exists, sets the offset based on the chunks already uploaded
    • resumes upload from the remaining chunk

@lohanidamodar lohanidamodar marked this pull request as ready for review February 15, 2022 02:23
Comment on lines +71 to +72
chunksTotal: res.data['chunksTotal'] ?? 0,
chunksUploaded: res.data['chunksUploaded'] ?? 0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it occur we dont get these?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In test/mock endpoint

Copy link
Contributor

@Meldiron Meldiron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lohanidamodar lohanidamodar merged commit 0d13b2c into feat-preps-for-0.13 Feb 23, 2022
@lohanidamodar lohanidamodar deleted the feat-resumable-upload-support branch February 23, 2022 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants