mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 19:06:12 +02:00
Enable periodical job
Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
parent
d02e1bac38
commit
c4d7698b20
@ -5,7 +5,6 @@ class AllPluginCheckUpdateJob < ApplicationJob
|
||||
Plugin.installed.each do |pl|
|
||||
GemUpdateCheckJob.perform_later(pl.gem_name)
|
||||
end
|
||||
# sucker_punch adapter does not implement enqueue_at
|
||||
# AllPluginCheckUpdateJob.set(wait: 1.hour).perform_later # will be checked every hour
|
||||
AllPluginCheckUpdateJob.set(wait: 1.hour).perform_later # will be checked every hour
|
||||
end
|
||||
end
|
||||
|
||||
@ -6,7 +6,6 @@ class FluentdUiUpdateCheckJob < ApplicationJob
|
||||
if pl.gem_versions
|
||||
FluentdUI.latest_version = pl.latest_version
|
||||
end
|
||||
# sucker_punch adapter does not implement enqueue_at
|
||||
# FluentdUiUpdateCheckJob.set(wait: 1.hour).perfom_later # will be checked every hour
|
||||
FluentdUiUpdateCheckJob.set(wait: 1.hour).perform_later # will be checked every hour
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user