use resumable uploads to GCS

This commit is contained in:
Danny Coates 2019-08-07 10:10:42 -07:00
parent 527040afef
commit 6378676c2d
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -22,7 +22,7 @@ class GCSStorage {
.pipe(
this.bucket.file(id).createWriteStream({
validation: false,
resumable: false
resumable: true
})
)
.on('error', reject)