Permalink
Browse files

fix issue with args loding for persistent queues

  • Loading branch information...
1 parent cbd7891 commit 0922ade530709e7c6cc10f4c13f8c688e26c79c0 @gnufied committed Mar 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/lib/meta_worker.rb
@@ -338,7 +338,7 @@ def check_for_enqueued_tasks
Thread.current[:persistent_job_id] = task[:id]
Thread.current[:job_key] = task[:job_key]
args = load_data(task.args)
- invoke_user_method(task.worker_method,task.args)
+ invoke_user_method(task.worker_method,args)
else
task.release_job
end

0 comments on commit 0922ade

Please sign in to comment.