Class: Gera::PurgeDirectionRatesWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/gera/purge_direction_rates_worker.rb

Constant Summary collapse

KEEP_PERIOD =
3.hours

Instance Method Summary collapse

Instance Method Details

#performObject



11
12
13
14
# File 'app/workers/gera/purge_direction_rates_worker.rb', line 11

def perform
  direction_rate_snapshots.batch_purge
  direction_rates.batch_purge
end