2
0

Add admin notifications for new Mastodon versions (#26582)

This commit is contained in:
Claire
2023-09-01 17:47:07 +02:00
committed by GitHub
parent be991f1d18
commit 16681e0f20
39 changed files with 892 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
class Scheduler::SoftwareUpdateCheckScheduler
include Sidekiq::Worker
sidekiq_options retry: 0, lock: :until_executed, lock_ttl: 1.hour.to_i
def perform
SoftwareUpdateCheckService.new.call
end
end