mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
5 lines
144 B
Ruby
5 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
|