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.4.5 app/workers/all_plugin_check_update.rb
fluentd-ui-0.4.4 app/workers/all_plugin_check_update.rb
fluentd-ui-0.4.3 app/workers/all_plugin_check_update.rb
fluentd-ui-0.4.2 app/workers/all_plugin_check_update.rb
fluentd-ui-0.4.1 app/workers/all_plugin_check_update.rb
fluentd-ui-0.4.0 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.21 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.20 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.19 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.18 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.17 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.16 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.15 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.14 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.13 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.12 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.11 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.10 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.9 app/workers/all_plugin_check_update.rb
fluentd-ui-0.3.8 app/workers/all_plugin_check_update.rb