Sam Saffron <[email protected]> wrote: > Perhaps link to > https://github.com/discourse/discourse/blob/master/lib/middleware/unicorn_oobgc.rb > for a 2.0 compatible solution (for people not on 2.1 yet)
OK. I prefer to link to the repo homepage/root to give the top-level project more visibility and also avoid long URLs. How about this? --- a/lib/unicorn/oob_gc.rb +++ b/lib/unicorn/oob_gc.rb @@ -4,6 +4,10 @@ # It is built on new APIs in Ruby 2.1, so it is more intelligent than # this historical implementation. # +# Users on Ruby 2.0 (not 2.1+) may also want to check out +# lib/middleware/unicorn_oobgc.rb from the Discourse project +# (https://github.com/discourse/discourse) +# # The following information is only for historical versions of Ruby. # # Runs GC after requests, after closing the client socket and _______________________________________________ Unicorn mailing list - [email protected] http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
