|author||Eric Wong <firstname.lastname@example.org>||2014-03-29 01:28:28 +0000|
|committer||Eric Wong <email@example.com>||2014-03-29 01:28:28 +0000|
I've never liked OobGC, so "hot potato!" :)
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/unicorn/oob_gc.rb b/lib/unicorn/oob_gc.rb
index 4e78a70..4cddd50 100644
@@ -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.