Sidekiq v2.7.0 Release Notes

    • โž• Add -d daemonize flag, capistrano recipe has been updated to use it [#662]
    • ๐Ÿ‘Œ Support profiling via ruby-prof with -p. When Sidekiq is stopped via Ctrl-C, it will output profile.html. You must add gem 'ruby-prof' to your Gemfile for it to work.
    • โšก๏ธ Dynamically update Redis stats on dashboard [brandonhilkert]
    • โž• Add Sidekiq::Workers API giving programmatic access to the current set of active workers.
    workers = Sidekiq::Workers.new
    workers.size => 2
    workers.each do |name, work|
      # name is a unique identifier per Processor instance
      # work is a Hash which looks like:
      # { 'queue' => name, 'run_at' => timestamp, 'payload' => msg }
    end
    
    • ๐Ÿ‘ Allow environment-specific sections within the config file which override the global values [dtaniwaki, #630]
    ---
    :concurrency:  50
    :verbose:      false
    staging:
      :verbose:      true
      :concurrency:  5