Seperate queues for jobs

This commit is contained in:
Raphael 2010-12-02 15:34:54 -08:00
parent 8798f05ff7
commit 07fdabbbd4
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
module Jobs
class ReceiveSalmon
@queue = :receive
@queue = :receive_salmon
def self.perform(user_id, xml)
user = User.find(user_id)
user.receive_salmon(xml)

View file

@ -1,6 +1,6 @@
module Jobs
class SocketWebfinger
@queue = :receive
@queue = :socket_webfinger
def self.perform(user_id, account, opts={})
finger = Webfinger.new(account)
begin