Module: UnicornWrangler::UnicornExtension
- Defined in:
- lib/unicorn_wrangler.rb
Instance Method Summary collapse
-
#build_app! ⇒ Object
run GC after we finished loading out app so forks inherit a clean GC environment.
- #process_client ⇒ Object
Instance Method Details
#build_app! ⇒ Object
run GC after we finished loading out app so forks inherit a clean GC environment
101 102 103 104 105 106 |
# File 'lib/unicorn_wrangler.rb', line 101 def build_app! super ensure GC.start GC.disable end |
#process_client ⇒ Object
96 97 98 |
# File 'lib/unicorn_wrangler.rb', line 96 def process_client(*) UnicornWrangler.perform_request { super } end |