Class: Protege::ResponsibilityTickJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Protege::ResponsibilityTickJob
- Defined in:
- app/jobs/protege/responsibility_tick_job.rb
Overview
The Loop layer's clock — a thin recurring job the host registers to run every minute (Solid Queue
recurring, alongside any other recurring tasks). Each tick hands off to Loop.dispatch, which
enqueues a ResponsibilityJob for every responsibility due that minute. ActiveJob has no native
recurring, so the recurrence itself is the host queue adapter's concern; the engine only ships this
job class and the dispatch logic.
Instance Method Summary collapse
-
#perform ⇒ void
Dispatch every responsibility due now.