Class: Xeno::ReaperJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/xeno/reaper_job.rb

Overview

Periodic sweep for turns with no live owner (see Xeno::Reaper). Fired by Solid Queue's recurring machinery, a cron hitting xeno:reap, or any other scheduler — running it twice is harmless.

Instance Method Summary collapse

Instance Method Details

#performObject



8
9
10
# File 'app/jobs/xeno/reaper_job.rb', line 8

def perform
  Reaper.sweep!
end