mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 23:03:48 +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
|