Skip to content
Browse files

fixed name

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

0 comments on commit accf907

Please sign in to comment.
Something went wrong with that request. Please try again.