Skip to content

Commit 14565ef

Browse files
stephenpluspluscallmehiphop
authored andcommitted
storage: explain gcs-resumable-upload (#1692)
1 parent cdd38a6 commit 14565ef

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/storage/src/file.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,12 @@ File.prototype.createResumableUpload = function(options, callback) {
749749
* A File object can also be used to create files for the first time.
750750
*
751751
* Resumable uploads are automatically enabled and must be shut off explicitly
752-
* by setting `options.resumable` to `false`.
752+
* by setting `options.resumable` to `false`. We use
753+
* [`gcs-resumable-upload`](https://github.com/stephenplusplus/gcs-resumable-upload),
754+
* which persists a config file with metadata about the upload request (see
755+
* ["How it works"](https://github.com/stephenplusplus/gcs-resumable-upload#how-it-works)).
756+
* If you start running into unexplainable errors, try clearing this cache file
757+
* located at `~/.config/configstore/gcs-resumable-upload.json`.
753758
*
754759
* <p class="notice">
755760
* There is some overhead when using a resumable upload that can cause

0 commit comments

Comments
 (0)