From 2f6330db4fea92ee312e654922637fe039ed47b8 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Tue, 8 Nov 2022 20:12:32 +0000 Subject: [PATCH] Removing timeout for export apps - #8589. --- packages/server/src/api/controllers/backup.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/api/controllers/backup.ts b/packages/server/src/api/controllers/backup.ts index 0ffda2c733..53e1bd1792 100644 --- a/packages/server/src/api/controllers/backup.ts +++ b/packages/server/src/api/controllers/backup.ts @@ -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`