Sha256: 4feec08ef42dbc8dccf8b7f8761ead9ba6e6b3be7a9faf1f3b708e6b1acc4b59

Contents?: true

Size: 269 Bytes

Versions: 33

Compression:

Stored size: 269 Bytes

Contents

class AllPluginCheckUpdate
  include SuckerPunch::Job

  def perform
    Plugin.installed.each do |pl|
      GemUpdateCheck.new.async.perform(pl.gem_name)
    end
    later(3600) # will be checked every hour
  end

  def later(sec)
    after(sec) { perform }
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
fluentd-ui-0.3.7 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.6 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.5 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.3 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.2 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.1 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.0 app/workers/all_plugin_check_update.rb
fluentd-ui-0.2.0 app/workers/all_plugin_check_update.rb
fluentd-ui-0.1.4 app/workers/all_plugin_check_update.rb
fluentd-ui-0.1.3 app/workers/all_plugin_check_update.rb
fluentd-ui-0.1.2 app/workers/all_plugin_check_update.rb
fluentd-ui-0.1.1 app/workers/all_plugin_check_update.rb
fluentd-ui-0.1.0 app/workers/all_plugin_check_update.rb