Skip to content

Commit

Permalink
Don't use a queue named recommendable
Browse files Browse the repository at this point in the history
Signed-off-by: David Celis <david@davidcelis.com>
  • Loading branch information
David Celis committed Sep 25, 2012
1 parent 9c25980 commit b47cd05
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.markdown
@@ -1,6 +1,10 @@
Changelog
=========

_Future Release_
----------------
* No longer use a queue named "recommendable" for Sidekiq, as the Capistrano deployment recipe only looks for the default queue. TODO: allow this to be configured

1.1.7 (Current version)
-----------------------
* Fix #50, a method that was forgotten to time during the ignoreable => ignorable typo update
Expand Down
4 changes: 2 additions & 2 deletions app/workers/recommendable/sidekiq_worker.rb
Expand Up @@ -2,8 +2,8 @@ module Recommendable
if defined?(Sidekiq)
class SidekiqWorker
include ::Sidekiq::Worker
sidekiq_options :queue => :recommendable, :unique => true
sidekiq_options :unique => true

def perform(user_id)
user = Recommendable.user_class.find(user_id)
user.send :update_similarities
Expand Down

0 comments on commit b47cd05

Please sign in to comment.