Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
refactor: increase memory limit
Marc Seitzac7a0945a4fd
diff --git a/next.config.js b/next.config.jsindex 9753e1c0..4a9fe905 100644--- a/next.config.js+++ b/next.config.js@@ -63,6 +63,11 @@ const nextConfig = {],},transpilePackages: ["@trigger.dev/react"],+ functions: {+ "api/mupdf/convert-page.ts": {+ memory: 2048,+ },+ },async rewrites() {return [{diff --git a/pages/api/mupdf/convert-page.ts b/pages/api/mupdf/convert-page.tsindex a0854d8a..5fe06bd7 100644--- a/pages/api/mupdf/convert-page.ts+++ b/pages/api/mupdf/convert-page.ts@@ -8,7 +8,6 @@ import { log } from "@/lib/utils";// This function can run for a maximum of 60 secondsexport const config = {maxDuration: 120,- memory: 2048,};export default async (req: NextApiRequest, res: NextApiResponse) => {