lib/rocket_job/jobs/housekeeping_job.rb in rocketjob-3.3.1 vs lib/rocket_job/jobs/housekeeping_job.rb in rocketjob-3.3.2
- old
+ new
@@ -27,11 +27,11 @@
# )
class HousekeepingJob < RocketJob::Job
include RocketJob::Plugins::Cron
include RocketJob::Plugins::Singleton
- self.priority = 25
- self.description = 'Cleans out historical jobs, and zombie servers.'
+ self.priority = 25
+ self.description = 'Cleans out historical jobs, and zombie servers.'
# Runs every 15 minutes
self.cron_schedule = '*/15 * * * * UTC'
# Whether to destroy zombie servers automatically
field :destroy_zombies, type: Boolean, default: true, user_editable: true, copy_on_restart: true