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

Fix RubyReaper active? #538

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

tanner-rutgers
Copy link
Contributor

Fixes #537

This PR should fix an issue where orphaned digests are not being considered orphaned if there are any active jobs in Redis.

I've verified the broken behaviour by adding tests for when other jobs are active that do not share the same unique digest - this test does not pass on master.

I'm not super familiar with the internals of Redis, but this should at the very least get the ball rolling in the right direction. Please point out anything that looks wrong.

@sharkzp
Copy link

sharkzp commented Oct 23, 2020

@mhenrixon Can you pease take a look?

Copy link
Owner

@mhenrixon mhenrixon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution. This version makes absolute sense to me!

@mhenrixon mhenrixon merged commit 4d6e1f6 into mhenrixon:master Oct 26, 2020
@mhenrixon mhenrixon self-assigned this Oct 26, 2020
@mhenrixon
Copy link
Owner

This was released as v7.0.0.beta25

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

Successfully merging this pull request may close these issues.

Ruby reaper not working, active jobs queried incorrectly
3 participants