From d07b5086ce2d2ef9d92d16242037a4ed71252da1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 29 Mar 2014 01:28:28 +0000 Subject: oobgc: link to Aman's gctools for Ruby 2.1+ I've never liked OobGC, so "hot potato!" :) --- lib/unicorn/oob_gc.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb index 4e78a70..4cddd50 100644 --- a/lib/unicorn/oob_gc.rb +++ b/lib/unicorn/oob_gc.rb @@ -1,5 +1,11 @@ # -*- encoding: binary -*- +# Strongly consider https://github.com/tmm1/gctools if using Ruby 2.1+ +# It is built on new APIs in Ruby 2.1, so it is more intelligent than +# this historical implementation. +# +# The following information is only for historical versions of Ruby. +# # Runs GC after requests, after closing the client socket and # before attempting to accept more connections. # -- cgit v1.2.3-24-ge0c7