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

class Scheduler::PgheroScheduler
  include Sidekiq::Worker

  sidekiq_options lock: :until_executed, retry: 0

  def perform
    PgHero.capture_space_stats
  end
end