mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-09 08:47:11 -05:00
12 lines
241 B
Ruby
12 lines
241 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AppVersionCheckingJob < ApplicationJob
|
|
queue_as :default
|
|
sidekiq_options retry: false
|
|
|
|
def perform
|
|
Rails.cache.delete(CheckAppVersion::VERSION_CACHE_KEY)
|
|
|
|
CheckAppVersion.new.call
|
|
end
|
|
end
|