hummingbird-me/hummingbird

View on GitHub
app/workers/bayesian_update_worker.rb

Summary

Maintainability
A
0 mins
Test Coverage
class BayesianUpdateWorker
  include Sidekiq::Worker
  include Sidetiq::Schedulable

  recurrence { daily }

  def perform
    Anime.recompute_bayesian_ratings!
  end
end