Permalink
Browse files

document splatting args when retrying failed job

  • Loading branch information...
lmarburger committed May 28, 2012
1 parent f86dcb4 commit 061c6b7bf99f09f0c1f9db032d32cf37566383da
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.md
View
@@ -278,7 +278,7 @@ class MyWorker < QC::Worker
# retry the job
def handle_failure(job, exception)
- @queue.enqueue(job[:method], job[:args])
+ @queue.enqueue(job[:method], *job[:args])
end
# the forked proc needs a new db connection

0 comments on commit 061c6b7

Please sign in to comment.