Method: Exekutor::Configuration#polling_interval

Defined in:
lib/exekutor/configuration.rb

#polling_intervalActiveSupport::Duration

The polling interval. When set, the worker will poll the database with this interval to check for any pending jobs that a listener might have missed (if enabled).

Default value:

60 seconds

Returns:

  • (ActiveSupport::Duration)


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)