fix: memory on annotate document

This commit is contained in:
Marc Seitz
2025-07-17 18:15:00 +02:00
parent 6bc0db96f8
commit a5c98e8b2c
2 changed files with 3 additions and 1 deletions
-1
View File
@@ -9,7 +9,6 @@ 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 {
+3
View File
@@ -2,6 +2,9 @@
"functions": {
"pages/api/mupdf/convert-page.ts": {
"memory": 2048
},
"pages/api/mupdf/annotate-document.ts": {
"memory": 2048
}
}
}