Sha256: 84f64fbebd0155c3a8014136405425945a4609ae6a1e4fcad3f88bfade385e07
Contents?: true
Size: 397 Bytes
Versions: 47
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module Spotlight ### # Calls the #set_default_thumbnail method # on the object passed in and calls save ### class CleanupJobTrackersJob < Spotlight::ApplicationJob def perform Spotlight::JobTracker.where(status: 'completed', updated_at: Time.zone.at(0)...Spotlight::Engine.config.reindex_progress_window.minutes.ago).delete_all end end end
Version data entries
47 entries across 47 versions & 1 rubygems