Permalink
Browse files

Merge pull request #75 from lmarburger/update_config_link

Provide more accurate instructions for retrying failed jobs.
  • Loading branch information...
2 parents 8256c1b + 061c6b7 commit 7b2698fe37f8f61f2525598a5048f4d97895e87a ♠ ace hacker committed May 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 readme.md
View
@@ -135,7 +135,7 @@ end
## Configure
All configuration takes place in the form of environment vars.
-See [queue_classic.rb](https://github.com/ryandotsmith/queue_classic/blob/master/lib/queue_classic.rb#L29-66)
+See [queue_classic.rb](https://github.com/ryandotsmith/queue_classic/blob/master/lib/queue_classic.rb#L23-62)
for a list of options.
## Usage
@@ -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
@@ -568,4 +568,4 @@ $ rake
### License
-queue_classic is released under the MIT License (http://www.opensource.org/licenses/mit-license.php).
+queue_classic is released under the MIT License (http://www.opensource.org/licenses/mit-license.php).

0 comments on commit 7b2698f

Please sign in to comment.