Open rajdip-b opened 9 months ago
/attempt
Assigned the issue to you!
@Ratnesh2003 hey bro made any progress on this?
This issue is up for grabs again!
@rajdip-b To confirm, I'll have to create job-handler
folder in apps/api/src
, then create job.handler.ts
file and then create a class JobHandler that handles rest of the task?
I think, we won't need all that trouble. You can add job.handler.ts
directly in common
module
/attempt I'd love to work on this issue.
Assigned the issue to @Allan2000-Git!
Description
To run jobs in the background as cronjobs jobs, or jobs that might take up significant resources, we would like to use
pg-boss
. This would allow us to harness the power of our database.This issue focuses on creating the client API for
pg-boss
Use this article for reference: https://www.npmjs.com/package/pg-boss
Solution
job-handler
. Add a class calledJobHandler
injob.handler.ts
.prisma
module is exported globally).