lib/pitchfork/configurator.rb in pitchfork-0.6.0 vs lib/pitchfork/configurator.rb in pitchfork-0.7.0

- old
+ new

@@ -156,10 +156,10 @@ def after_worker_exit(*args, &block) set_hook(:after_worker_exit, block_given? ? block : args[0], 3) end def after_request_complete(*args, &block) - set_hook(:after_request_complete, block_given? ? block : args[0]) + set_hook(:after_request_complete, block_given? ? block : args[0], 3) end def timeout(seconds, cleanup: 2) soft_timeout = set_int(:soft_timeout, seconds, 3) cleanup_timeout = set_int(:cleanup_timeout, cleanup, 2)