keyshade-xyz / keyshade

Realtime secret and configuration management tool, with the best in class security and seamless integration support
https://keyshade.xyz
Mozilla Public License 2.0
207 stars 103 forks source link

Integrate `pg-boss` for job scheduling #138

Open rajdip-b opened 9 months ago

rajdip-b commented 9 months ago

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

Ratnesh2003 commented 9 months ago

/attempt

github-actions[bot] commented 9 months ago

Assigned the issue to you!

rajdip-b commented 8 months ago

@Ratnesh2003 hey bro made any progress on this?

rajdip-b commented 8 months ago

This issue is up for grabs again!

rajdip-b commented 8 months ago

Integrate pg-boss for job scheduling

rajdip-b commented 8 months ago

Integrate pg-boss for job scheduling

Allan2000-Git commented 1 month ago

@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?

rajdip-b commented 1 month ago

I think, we won't need all that trouble. You can add job.handler.ts directly in common module

Allan2000-Git commented 1 month ago

/attempt I'd love to work on this issue.

github-actions[bot] commented 1 month ago

Assigned the issue to @Allan2000-Git!