Method: Exekutor::Configuration#max_execution_thread_idletime=

Defined in:
lib/exekutor/configuration.rb

#max_execution_thread_idletime=(value) ⇒ self

Sets the maximum duration a thread may be idle before being stopped

Parameters:

  • value (ActiveSupport::Duration)

    the number of threads

Returns:

  • (self)


251
252
# File 'lib/exekutor/configuration.rb', line 251

define_option :max_execution_thread_idletime, default: 1.minute, type: ActiveSupport::Duration,
range: (1.second)..(1.day)