Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jobs disappear #521

Open
khromov opened this issue Nov 8, 2024 · 2 comments
Open

Jobs disappear #521

khromov opened this issue Nov 8, 2024 · 2 comments

Comments

@khromov
Copy link

khromov commented Nov 8, 2024

👋 Hi! We've had a large number (~1M) of jobs queued using pg-boss, but it seems most of the queue suddenly disappeared. For reference these items have been queued for many days, probably around ~7 days. So, I do not think this is related to the "job expiration" (which is apparently 15 minutes according to the docs). Can you think of something that would cause this behavior, and how can we queue our jobs and guarantee that they don't vanish regardless of age?

@khromov khromov changed the title Clarification on expiration Jobs disappear Nov 8, 2024
@timgit
Copy link
Owner

timgit commented Nov 10, 2024

It sounds like the retention policy removed them.

@khromov
Copy link
Author

khromov commented Nov 11, 2024

Thank you, we'll try setting retentionDays: 365, and see if that helps. 🙇
It seems the default is 30 according to the docs.

* Default: 30 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants