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