mirror of
https://github.com/mfts/papermark.git
synced 2025-12-20 01:03:24 +08:00
fix: memory on annotate document
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
"functions": {
|
||||
"pages/api/mupdf/convert-page.ts": {
|
||||
"memory": 2048
|
||||
},
|
||||
"pages/api/mupdf/annotate-document.ts": {
|
||||
"memory": 2048
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user