fix: memory on annotate document

This commit is contained in:
Marc Seitz
2025-07-17 18:15:00 +02:00
parent c60b488d91
commit 59c95f06cc
2 changed files with 3 additions and 1 deletions

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 {

View File

@@ -2,6 +2,9 @@
"functions": {
"pages/api/mupdf/convert-page.ts": {
"memory": 2048
},
"pages/api/mupdf/annotate-document.ts": {
"memory": 2048
}
}
}