dawarich/app/jobs/app_version_checking_job.rb

13 lines
254 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class AppVersionCheckingJob < ApplicationJob
2025-07-26 19:08:29 -04:00
queue_as :app_version_checking
2025-06-09 07:39:25 -04:00
sidekiq_options retry: false
def perform
Rails.cache.delete(CheckAppVersion::VERSION_CACHE_KEY)
CheckAppVersion.new.call
end
end