mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 20:13:38 +08:00
8 lines
174 B
Ruby
8 lines
174 B
Ruby
require_dependency 'scheduler/defer'
|
|
|
|
if defined? Unicorn::HttpServer
|
|
ObjectSpace.each_object(Unicorn::HttpServer) do |s|
|
|
s.extend(Scheduler::Defer::Unicorn)
|
|
end
|
|
end
|