Why does resque 1.25 not trigger before_fork or after_fork?
I am using resque 1.25.0 but for some reason my before_fork does not get
called? Resque.before_first_hook gets called but before_fork does not.
Resque.before_first_fork do
puts 'running Resque.before_first_fork'
end
Resque.before_fork do |job|
puts 'running Resque.before_fork.'
end
No comments:
Post a Comment