mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:39:36 +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
|