mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 01:04:37 +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
|