Class: Puma::DSL

Inherits:
Object
  • Object
show all
Defined in:
lib/puma/plugin/mixin_blaze.rb

Instance Method Summary collapse

Instance Method Details

#mixin_blaze_mode(mode = :fork) ⇒ Object

Selects where the Blaze connection lives (see file comment).

Parameters:

  • mode (Symbol) (defaults to: :fork)

    :fork (default) or :async



35
36
37
# File 'lib/puma/plugin/mixin_blaze.rb', line 35

def mixin_blaze_mode(mode = :fork)
  @options[:mixin_blaze_mode] = mode.to_sym
end