Created
December 7, 2011 21:07
-
-
Save bryanl/1444664 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require 'unicorn/app/old_rails' | |
require 'unicorn/oob_gc' | |
ActionController::Dispatcher.middleware.use Unicorn::OobGC, 2, %r{\A/(?:expensive/foo|more_expensive/foo)} | |
rescue LoadError | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment