Skip to content
Browse files

fixed name

  • Loading branch information...
1 parent accf907 commit a710c6de34038fc633f590f5b6647b547a2244eb @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.options))
+ task = settings.iron_worker.tasks.create("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 a710c6d

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