module UnicornWrangler::UnicornExtension

Public Instance Methods

build_app!() click to toggle source

run GC after we finished loading out app so forks inherit a clean GC environment

Calls superclass method
# File lib/unicorn_wrangler.rb, line 101
def build_app!
  super
ensure
  GC.start
  GC.disable
end
process_client(*) click to toggle source
Calls superclass method
# File lib/unicorn_wrangler.rb, line 96
def process_client(*)
  UnicornWrangler.perform_request { super }
end