Skip to content

Commit

Permalink
fixed name
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Aug 6, 2012
1 parent 8766349 commit accf907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hello.rb
Expand Up @@ -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
Expand Down

0 comments on commit accf907

Please sign in to comment.