Module: PumaAfterReply::RepliesRunner Private
- Defined in:
- lib/puma_after_reply/replies_runner.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Class Method Summary collapse
- .call ⇒ Object private
Class Method Details
.call ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 12 13 14 15 16 17 |
# File 'lib/puma_after_reply/replies_runner.rb', line 9 def call threaded_executions = execute_threaded execute_inline # NOTE: # wait for all replies to be completed (an analogue of Thread#join) # in order to keep busy the current puma worker for the duration of the reply logic # and to prevent any memory bloat; threaded_executions.each(&:value) end |