diff --git a/app/jobs/all_plugin_check_update_job.rb b/app/jobs/all_plugin_check_update_job.rb index d49613d..d37ba1a 100644 --- a/app/jobs/all_plugin_check_update_job.rb +++ b/app/jobs/all_plugin_check_update_job.rb @@ -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 diff --git a/app/jobs/fluentd_ui_update_check_job.rb b/app/jobs/fluentd_ui_update_check_job.rb index f71662a..3aaffeb 100644 --- a/app/jobs/fluentd_ui_update_check_job.rb +++ b/app/jobs/fluentd_ui_update_check_job.rb @@ -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