mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
use resumable uploads to GCS
This commit is contained in:
@@ -22,7 +22,7 @@ class GCSStorage {
|
|||||||
.pipe(
|
.pipe(
|
||||||
this.bucket.file(id).createWriteStream({
|
this.bucket.file(id).createWriteStream({
|
||||||
validation: false,
|
validation: false,
|
||||||
resumable: false
|
resumable: true
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
.on('error', reject)
|
.on('error', reject)
|
||||||
|
|||||||
Reference in New Issue
Block a user