cirandas.net

ref: master

config/initializers/unicorn.rb


1
2
3
4
5
6
7
8
require_dependency 'noosfero/scheduler/defer'

if defined? Unicorn
  ObjectSpace.each_object Unicorn::HttpServer do |s|
    s.extend Noosfero::Scheduler::Defer::Unicorn
  end
end