
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Prioritize Sidekiq jobs within queues
Sidekiq Priority lets you prioritize the jobs within any Sidekiq queue.
For example, say you add 5 jobs with the default priority:
5.times.do
MyWorker.perform_async(42)
end
Using Sidekiq Priority, you can add new jobs that have a higher priority than those original 5 jobs by calling perform_with_priority instead of perform_async:
MyWorker.perform_with_priority(:high, 42)
This job won't interrupt any running jobs, but it'll start before any other jobs in the queue do.
You can also add jobs that should only run with lower priority than the default priority:
MyWorker.perform_with_priority(:low, 42)
Include it in your Gemfile:
gem 'sidekiq-priority'
By default, two priorities are available: :high
(above the default prioritization of perform_async) and :low
(below the default prioritization of perform_async), but you can add others (these values should be symbols, and nil
represents the default prioritization):
# config/initializers/sidekiq_priority.rb
Sidekiq::Priority.priorities = [:very_high, :high, nil, :low]
Sidekiq Priority is released under the MIT License. Please see the MIT-LICENSE file for details.
FAQs
Unknown package
We found that sidekiq-priority demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.