class Sidekiq::Processor
- Sidekiq::Processor
- Reference
- Object
Overview
The Processor is a standalone fiber which:
- fetches a job from Redis
- executes the job a. instantiate the Worker b. run the middleware chain c. call #perform
A Processor can exit due to shutdown (processor_stopped) or due to an error during job execution (processor_died)
If an error occurs in the job execution, the Processor calls the Manager to create a new one to replace itself and exits.
Included Modules
Defined in:
sidekiq/server/processor.crConstructors
Class Method Summary
Instance Method Summary
- #identity : String
- #job : Job | Nil
- #process_one
- #start
- #stats(job, &)
- #terminate
- #work : Sidekiq::UnitOfWork | Nil