mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
we don't need oobgc in ruby 2.2, disable for now
This commit is contained in:
parent
4aed506917
commit
2d9d60e9a2
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ if defined? Unicorn::HttpServer
|
|||
s.extend(Scheduler::Defer::Unicorn)
|
||||
end
|
||||
|
||||
if ENV['UNICORN_ENABLE_OOBGC'] == '1'
|
||||
if ENV['UNICORN_ENABLE_OOBGC'] == '1' && RUBY_VERSION < "2.2.0"
|
||||
require 'middleware/unicorn_oobgc'
|
||||
Middleware::UnicornOobgc.init
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue