Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: memory for annotate document

Marc Seitzfd8bafc4c5aa
diff --git a/pages/api/mupdf/annotate-document.ts b/pages/api/mupdf/annotate-document.ts
index c8da649f..d4a9f109 100644
--- a/pages/api/mupdf/annotate-document.ts
+++ b/pages/api/mupdf/annotate-document.ts
@@ -9,6 +9,7 @@ import { hexToRgb, log } from "@/lib/utils";
// This function can run for a maximum of 120 seconds
export const config = {
maxDuration: 180,
+ memory: 2048,
};
interface WatermarkConfig {