Skip to content

Commit

Permalink
No need for config in hook examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Jan 4, 2014
1 parent e616c8e commit 1b9075a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions examples/hooks_perform.rb
@@ -1,10 +1,6 @@
# Example of how Qu works with graceful shutdown turned on.
require_relative './example_setup'

Qu.configure do |config|
config.graceful_shutdown = true
end

class CookJob < Qu::Job
around_perform :instrument

Expand Down
4 changes: 0 additions & 4 deletions examples/hooks_push.rb
@@ -1,10 +1,6 @@
# Example of how Qu works with graceful shutdown turned on.
require_relative './example_setup'

Qu.configure do |config|
config.graceful_shutdown = true
end

class MaybeJob < Qu::Job
before_push :determine_for_real
after_push :log_push
Expand Down

0 comments on commit 1b9075a

Please sign in to comment.