Method: Exekutor::Configuration#inverse_priority=

Defined in:
lib/exekutor/configuration.rb

#inverse_priority=(value) ⇒ self

Sets whether the the priority should be inverted. When true, the job with the highest value as the priority is the most important; when false, the job with the lowest value as the priority is the most important.

Parameters:

  • value (Boolean)

    whether the job with the highest priority value is the most important.

Returns:

  • (self)


306
307
# File 'lib/exekutor/configuration.rb', line 306

define_option :inverse_priority, reader: :inverse_priority?, type: [TrueClass, FalseClass], required: true,
default: false