keyshade
keyshade copied to clipboard
feat: Integrate pg-boss for job scheduling
User description
Description
This PR adds a integrates pg-boss
for job scheduling. This allows us to run jobs in the background as cron jobs or jobs that might take up significant resources.
Fixes #138
Dependencies
Installed packages: pg-boss
Future Improvements
N/A
Mentions
@rajdip-b
Screenshots of relevant screens
N/A
Developer's checklist
- [x] My PR follows the style guidelines of this project
- [x] I have performed a self-check on my work
If changes are made in the code:
- [x] I have followed the coding guidelines
- [x] My changes in code generate no new warnings
- [ ] My changes are breaking another fix/feature of the project
- [ ] I have added test cases to show that my feature works
- [ ] I have added relevant screenshots in my PR
- [x] There are no UI/UX issues
Documentation Update
- [ ] This PR requires an update to the documentation at docs.keyshade.xyz
- [ ] I have made the necessary updates to the documentation, or no documentation changes are required.
PR Type
Enhancement
Description
- Integrated
pg-boss
for job scheduling by adding a newJobHandler
class. - Updated
CommonModule
to includeJobHandler
in providers and exports. - Added
pg-boss
to the project dependencies inpackage.json
. - Updated
pnpm-lock.yaml
to reflect the new dependencies.
Changes walkthrough 📝
Relevant files | |||||
---|---|---|---|---|---|
Enhancement |
| ||||
Dependencies |
|
💡 PR-Agent usage: Comment
/help "your question"
on any pull request to receive relevant information