Class: Bulletin::PruneJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
app/jobs/bulletin/prune_job.rb

Overview

Enqueue periodically (e.g. from cron / a recurring job) to age out issues past the configured retention window.

Instance Method Summary collapse

Instance Method Details

#performObject



9
10
11
# File 'app/jobs/bulletin/prune_job.rb', line 9

def perform
  Bulletin.store.prune!
end