Skip to content

avoid '__state__completed' jobs? #229

Answered by brianmcd
tommygoessing asked this question in Q&A
Discussion options

You must be logged in to vote

Those jobs are how pg-boss implements the onComplete functionality. More info on onComplete: https://github.com/timgit/pg-boss/blob/master/docs/usage.md#oncompletename--options-handler.

As of version 5.2.0, you can control the creation of the __state_completed jobs (either per-publish or globally). https://github.com/timgit/pg-boss/blob/master/docs/configuration.md#completion-jobs

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by timgit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants