Sha256: bfc9e51cf54aa3483b4eb7d09d6c29e3f1ea6e7e342380d8cb849c2bd880d9d9

Contents?: true

Size: 281 Bytes

Versions: 9

Compression:

Stored size: 281 Bytes

Contents

class AllPluginCheckUpdateJob < ApplicationJob
  queue_as :default

  def perform(*args)
    Plugin.installed.each do |pl|
      GemUpdateCheckJob.perform_later(pl.gem_name)
    end
    AllPluginCheckUpdateJob.set(wait: 1.hour).perform_later # will be checked every hour
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fluentd-ui-1.2.1 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.2.0 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.1.0 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.1 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.0 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.0.beta.1 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.0.alpha.3 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.0.alpha.2 app/jobs/all_plugin_check_update_job.rb
fluentd-ui-1.0.0.alpha.1 app/jobs/all_plugin_check_update_job.rb