-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Infinite loop in ruby reaper #515
Comments
mhenrixon
added a commit
that referenced
this issue
Jun 11, 2020
mhenrixon
added a commit
that referenced
this issue
Jun 12, 2020
* Don't loop indefinitely Close #515 * Mandatory rubocop commit * Adjust to new Redis API * Mandatory rubocop commit * Bump appraisals * Support both older and newer redis gem API * Mandatory rubocop commit * Reek * Shorten commands * Fix ruby 2.7 warnings
Fixed and released as |
@mhenrixon FYI: this also (seemingly) fixes thread leaking, which occurs when ConcurrentRuby::TimedTask times out. Relevant issue here: ruby-concurrency/concurrent-ruby#639 |
Jesus, had no idea! I'll have a look at the related concurrent-ruby issue tonight! Thanks a bunch for sharing that @markiz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/lib/sidekiq_unique_jobs/orphans/ruby_reaper.rb#L154-L165
This loop does not have an exit point.
Expected behavior
Reaper can finish.
Current behavior
Reaper loops indefinitely and is killed by timeout
The text was updated successfully, but these errors were encountered: