mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
0e8914cee6
add oobgc rudimentary support
4 lines
144 B
Ruby
4 lines
144 B
Ruby
if (oobgc=ENV['UNICORN_OOBGC_REQS'].to_i) > 0
|
|
require 'unicorn/oob_gc'
|
|
Rails.configuration.middleware.insert 0, Unicorn::OobGC, oobgc
|
|
end
|