Method: Exekutor::Configuration#max_execution_threads
- Defined in:
- lib/exekutor/configuration.rb
#max_execution_threads ⇒ Integer
The maximum number of execution threads that may be active.
Default value:
Active record pool size minus 1, with a minimum of 1
237 238 239 |
# File 'lib/exekutor/configuration.rb', line 237 define_option :max_execution_threads, default: -> { (Internal::BaseRecord.connection_db_config.pool.to_i - 1).clamp(1, 999) }, type: Integer, range: 1...999 |