mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Remove verifying job
This commit is contained in:
parent
4d462385b3
commit
6b60eff90d
2 changed files with 0 additions and 26 deletions
|
|
@ -1,21 +0,0 @@
|
||||||
# frozen_string_literal: true
|
|
||||||
|
|
||||||
module Points
|
|
||||||
module RawData
|
|
||||||
class VerifyJob < ApplicationJob
|
|
||||||
queue_as :archival
|
|
||||||
|
|
||||||
def perform
|
|
||||||
return unless ENV['ARCHIVE_RAW_DATA'] == 'true'
|
|
||||||
|
|
||||||
stats = Points::RawData::Verifier.new.call
|
|
||||||
|
|
||||||
Rails.logger.info("Verification job complete: #{stats}")
|
|
||||||
rescue StandardError => e
|
|
||||||
ExceptionReporter.call(e, 'Points raw data verification job failed')
|
|
||||||
|
|
||||||
raise
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
@ -59,8 +59,3 @@ rails_pulse_clean_up_job:
|
||||||
cron: "0 1 * * *" # every day at 01:00
|
cron: "0 1 * * *" # every day at 01:00
|
||||||
class: "RailsPulse::CleanupJob"
|
class: "RailsPulse::CleanupJob"
|
||||||
queue: default
|
queue: default
|
||||||
|
|
||||||
raw_data_archive_verification_job:
|
|
||||||
cron: "0 3 * * *" # every day at 03:00
|
|
||||||
class: "Points::RawData::VerifyJob"
|
|
||||||
queue: archival
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue