Permalink
Browse files

minor

  • Loading branch information...
1 parent 1de65c0 commit 6314f89a7c0e013aa0d62efaf586cdd0f7f682d2 @treeder treeder committed Aug 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 hello.rb
View
@@ -13,7 +13,7 @@
## todo: store worker id in session then ajax show progress
#worker.queue
- task = settings.iron_worker.tasks.create("TweetWorker", {:mq=>settings.ironmq.api.options.merge({:queue_name =>settings.queue_name})})
+ task = settings.iron_worker.tasks.create("TweetWorker", {:mq=>settings.ironmq.options.merge({:queue_name =>settings.queue_name})})
session[:worker_id] = task.id
puts 'worker_id in session=' + task.id

0 comments on commit 6314f89

Please sign in to comment.