mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 16:44:17 +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
|