Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small pause hook formatting clean up in HOOKs doc

  • Loading branch information...
commit 9a6bb8df8f0c2e0dc85f570d0db11697c1e07e31 1 parent edc82dd
@ecoffey ecoffey authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  docs/HOOKS.md
View
3  docs/HOOKS.md
@@ -39,14 +39,13 @@ the current job. Any changes you make, therefor, will only live as
long as the job currently being processes.
You can also run a hook both before a worker pauses (`before_pause`),
-and after it is paused (`after_pause`). Each case the block will be
+and after it is paused (`after_pause`). In each case the block will be
passed the worker that is pausing or unpausing, respectively:
Resque.before_pause do |worker|
puts "It looks like #{worker} is now paused!"
end
-
Resque.after_pause do |worker|
puts "Whew, back to work for #{worker}!"
end
Please sign in to comment.
Something went wrong with that request. Please try again.