-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR]: Set chunk size on upload task #10137
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
@cclaan Would you provide more description about the value of being able to set the |
My use case is uploading ~20mb files from a phone with potentially poor network connection. Using smaller chunks is required so that the upload does not restart from scratch every time the network drops. ( Previously chunkSize was LLONG_MAX ) |
Description
I may be missing something very obvious, but I see no way to set the upload chunk size from swift code for a 'FIRStorageUploadTask' created via FIRStorageReference putFile.
e.g.
In FIRStorageUploadTask.m the chunk size seems to be set from the constant
kGTMSessionUploadFetcherStandardChunkSize
which is set to LLONG_MAX;Perhaps there is a way to modify this somewhere, but I can't find any documentation on it.
Thanks for any support.
API Proposal
Firebase Product(s)
Storage
The text was updated successfully, but these errors were encountered: