Class: Sidekiq::Routing::Auto::RerouteJob
- Inherits:
-
Object
- Object
- Sidekiq::Routing::Auto::RerouteJob
- Includes:
- Job
- Defined in:
- lib/sidekiq/routing/auto/reroute_job.rb
Overview
Periodic worker that drives latency-based rerouting: for each SLA queue breaching its capacity threshold, move (noisy-neighbor) jobs to the next tier. Schedule it via sidekiq-cron in the host app’s scheduled_jobs.yml.
Plain Sidekiq::Job (no app base class) so the gem carries no dependency on the host’s job hierarchy.