Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

document splatting args when retrying failed job

  • Loading branch information...
commit 061c6b7bf99f09f0c1f9db032d32cf37566383da 1 parent f86dcb4
@lmarburger lmarburger authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  readme.md
View
2  readme.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.