-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add JobCleaner timeout dynamically #576
Add JobCleaner timeout dynamically #576
Conversation
@PumpkinSeed thanks for taking a stab at this! I think we will end up needing to add some test coverage for it, but otherwise it looks pretty much spot on. Could you please add yourself to the CLA here before we move forward on this? https://github.com/riverqueue/rivercla |
@bgentry I wrote a specific test for this case. I already did the CLA in the past. |
D’oh, sorry I missed that 🤦🏼♂️ newborn sleep deprivation kicking in over here 😅 Will sync with @brandur on this shortly and hopefully get it merged, thank you! |
Hi, do you have any update on this? @bgentry |
Hi @PumpkinSeed, really sorry about the delay on this. I should be able to get it merged today and shipped in the next release. |
8a5118b
to
ab57b0f
Compare
@brandur I did some cleanup on this one and I think it should be suitable for now, but please feel free to take a look before it ships! |
An infinitesimal change to add a missing pull request link for the change in #576.
An infinitesimal change to add a missing pull request link for the change in #576.
The JobCleaner maintenance process had a hardcoded 30 second timeout. While this is plenty long enough for most installations, in certain very large job tables this may not be enough time to run a single round of the query. This makes the timeout customizable via a Client config. --------- Co-authored-by: Blake Gentry <blakesgentry@gmail.com>
An infinitesimal change to add a missing pull request link for the change in riverqueue#576.
Suggested implementation of #575