Method: Exekutor::Configuration#polling_interval=

Defined in:
lib/exekutor/configuration.rb

#polling_interval=(value) ⇒ self

Sets the polling interval. Set to nil to disable polling. If the listener is disabled, this value should be reasonably low so jobs don’t have to wait in the queue too long; if the listener is enabled, this value can be reasonably high.

Parameters:

  • value (ActiveSupport::Duration)

    the interval

Returns:

  • (self)


194
195
# File 'lib/exekutor/configuration.rb', line 194

define_option :polling_interval, default: 1.minute, type: [ActiveSupport::Duration, nil],
range: (1.second)...(1.day)