Skip to content

Commit

Permalink
Remove wrong comment on instance method (#4617)
Browse files Browse the repository at this point in the history
Withing #4602 this method was changed from a class- to instance-method. The comment should be removed as the method is not a class-method anymore.
  • Loading branch information
mobilutz committed Jul 1, 2020
1 parent 19cf129 commit fdd2b95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/sidekiq/fetch.rb
Expand Up @@ -40,8 +40,6 @@ def retrieve_work
UnitOfWork.new(*work) if work
end

# By leaving this as a class method, it can be pluggable and used by the Manager actor. Making it
# an instance method will make it async to the Fetcher actor
def bulk_requeue(inprogress, options)
return if inprogress.empty?

Expand Down

0 comments on commit fdd2b95

Please sign in to comment.