about summary refs log blame commit diff
path: root/app/workers/scheduler/pghero_scheduler.rb
blob: 4453bf2cd0018b504d5dac83f0d0baf523172530 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11









                                                   
# frozen_string_literal: true

class Scheduler::PgheroScheduler
  include Sidekiq::Worker

  sidekiq_options unique: :until_executed, retry: 0

  def perform
    PgHero.capture_space_stats
  end
end