Skip to content

Commit 9a6bb8d

Browse files
committed
Small pause hook formatting clean up in HOOKs doc
1 parent edc82dd commit 9a6bb8d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/HOOKS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ the current job. Any changes you make, therefor, will only live as
3939
long as the job currently being processes.
4040

4141
You can also run a hook both before a worker pauses (`before_pause`),
42-
and after it is paused (`after_pause`). Each case the block will be
42+
and after it is paused (`after_pause`). In each case the block will be
4343
passed the worker that is pausing or unpausing, respectively:
4444

4545
Resque.before_pause do |worker|
4646
puts "It looks like #{worker} is now paused!"
4747
end
4848

49-
5049
Resque.after_pause do |worker|
5150
puts "Whew, back to work for #{worker}!"
5251
end

0 commit comments

Comments
 (0)