1
0
Fork 0
mirror of synced 2024-06-11 06:55:26 +12:00

Removing timeout for export apps - #8589.

This commit is contained in:
Michael Drury 2022-11-08 20:12:32 +00:00
parent 0af56bed25
commit 53b5cd1e1c

View file

@ -5,6 +5,8 @@ import { isQsTrue } from "../../utilities"
export async function exportAppDump(ctx: any) {
let { appId, excludeRows } = ctx.query
// remove the 120 second limit for the request
ctx.req.setTimeout(0)
const appName = decodeURI(ctx.query.appname)
excludeRows = isQsTrue(excludeRows)
const backupIdentifier = `${appName}-export-${new Date().getTime()}.tar.gz`