Skip to content

Commit

Permalink
rubocop fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
peetucket committed Oct 21, 2024
1 parent 8047758 commit 5cd0d20
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/initializers/okcomputer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,7 @@ def fetch_local_sidekiq_processes
# process currently running on _all_ worker VMs
def fetch_global_sidekiq_process_list
# Sidekiq::ProcessSet#each doesn't return an Enumerator, it just loops and calls the block it's passed
[].tap do |pset_list|
Sidekiq::ProcessSet.new.each { |process| pset_list << process }
end
Sidekiq::ProcessSet.new.map { |process| process }
end

# the number of concurrent Sidekiq worker threads per process is set in config/sidekiq.yml
Expand Down

0 comments on commit 5cd0d20

Please sign in to comment.