Removing timeout for export apps - #8589.

This commit is contained in:
Michael Drury 2022-11-08 20:12:32 +00:00
parent 41a65bbe47
commit 2f6330db4f
1 changed files with 2 additions and 0 deletions

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`