Module: Synapse::Configuration::ThreadPoolDefinitionBuilder

Extended by:
ActiveSupport::Concern
Included in:
AsynchronousCommandBusDefinitionBuilder
Defined in:
lib/synapse/configuration/component/shared/thread_pool.rb

Overview

Mixin for a definition builder that creates a service that is backed by a thread pool

See Also:

  • For pool options

Instance Method Summary collapse

Instance Method Details

#use_pool_options(pool_options) ⇒ undefined

Sets the options for the thread pool

Parameters:

  • pool_options (Hash)

Returns:

  • (undefined)


12
13
14
# File 'lib/synapse/configuration/component/shared/thread_pool.rb', line 12

def use_pool_options(pool_options)
  @pool_options = pool_options
end