about summary refs log tree commit diff
path: root/app/lib/vacuum/system_keys_vacuum.rb
blob: ceee2fd164b2fb7b41214171745e6006737905b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class Vacuum::SystemKeysVacuum
  def perform
    vacuum_expired_system_keys!
  end

  private

  def vacuum_expired_system_keys!
    SystemKey.expired.delete_all
  end
end