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
1 changed files with 1 additions and 1 deletions

View File

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