diff options
author | Eric Wong <e@80x24.org> | 2014-03-29 01:28:28 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-03-29 01:28:28 +0000 |
commit | d07b5086ce2d2ef9d92d16242037a4ed71252da1 (patch) | |
tree | cf1be18fc47dfc7c37ce750ba925ce65abc82b79 /lib/unicorn | |
parent | 62a81b0b292d8d7d15b8d45fa5134b813d4ceb64 (diff) | |
download | unicorn-d07b5086ce2d2ef9d92d16242037a4ed71252da1.tar.gz |
I've never liked OobGC, so "hot potato!" :)
Diffstat (limited to 'lib/unicorn')
-rw-r--r-- | lib/unicorn/oob_gc.rb | 6 |
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 --- 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. # |