Skip to content

Commit

Permalink
Poll created worker - queue name
Browse files Browse the repository at this point in the history
  • Loading branch information
iced committed Jan 13, 2012
1 parent 891202d commit e5d2ba3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workers/salesforce_poll_created_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class SalesforcePollCreatedWorker << IronWorker::Base

def run
mq = IronMQ::Client.new('token' => @iron_token, 'project_id' => @iron_project_id)
mq.queue_name = 'lead_created'

Mongoid.configure do |config|
config.master = Mongo::Connection.from_uri(@mongodb_connection + '/' + @mongodb_database)[@mongodb_database]
Expand Down

0 comments on commit e5d2ba3

Please sign in to comment.