wip: background tasks

This commit is contained in:
Mythie
2024-05-15 18:55:05 +10:00
parent 1647f7c4a0
commit 108054a133
23 changed files with 752 additions and 29 deletions
+3 -3
View File
@@ -35,9 +35,9 @@
"next-plausible": "^3.10.1",
"perfect-freehand": "^1.2.0",
"posthog-js": "^1.77.3",
"react": "18.2.0",
"react": "18.3.1",
"react-confetti": "^6.1.0",
"react-dom": "18.2.0",
"react-dom": "18.3.1",
"react-hook-form": "^7.43.9",
"react-icons": "^4.11.0",
"recharts": "^2.7.2",
@@ -58,4 +58,4 @@
"next": "$next"
}
}
}
}
+3 -3
View File
@@ -41,8 +41,8 @@
"perfect-freehand": "^1.2.0",
"posthog-js": "^1.75.3",
"posthog-node": "^3.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-dropzone": "^14.2.3",
"react-hook-form": "^7.43.9",
"react-hotkeys-hook": "^4.4.1",
@@ -75,4 +75,4 @@
"next": "$next"
}
}
}
}
+11
View File
@@ -0,0 +1,11 @@
import { jobsClient } from '@documenso/lib/jobs/client';
import '@documenso/lib/jobs/definitions';
export const config = {
maxDuration: 300,
api: {
bodyParser: false,
},
};
export default jobsClient.getApiHandler();