Handling very large exports/backup downloads.
This commit is contained in:
parent
c0823d7018
commit
85f7d66a99
|
@ -7,7 +7,7 @@ import tar from "tar-fs"
|
|||
import zlib from "zlib"
|
||||
import { promisify } from "util"
|
||||
import { join } from "path"
|
||||
import fs from "fs"
|
||||
import fs, { ReadStream } from "fs"
|
||||
import env from "../environment"
|
||||
import { budibaseTempDir } from "./utils"
|
||||
import { v4 } from "uuid"
|
||||
|
@ -184,7 +184,7 @@ export async function upload({
|
|||
export async function streamUpload(
|
||||
bucketName: string,
|
||||
filename: string,
|
||||
stream: any,
|
||||
stream: ReadStream | ReadableStream,
|
||||
extra = {}
|
||||
) {
|
||||
const objectStore = ObjectStore(bucketName)
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit eb9565f568cfef14b336b14eee753119acfdd43b
|
||||
Subproject commit e4dab7e4ccb4a1e2864a35dd2a851ca1a898e6c6
|
Loading…
Reference in New Issue