lib/good_job/configuration.rb in good_job-3.13.0 vs lib/good_job/configuration.rb in good_job-3.14.0
- old
+ new
@@ -339,9 +339,13 @@
return ActiveModel::Type::Boolean.new.cast(env['GOOD_JOB_ENABLE_LISTEN_NOTIFY']) unless env['GOOD_JOB_ENABLE_LISTEN_NOTIFY'].nil?
DEFAULT_ENABLE_LISTEN_NOTIFY
end
+ def smaller_number_is_higher_priority
+ rails_config[:smaller_number_is_higher_priority]
+ end
+
private
def rails_config
Rails.application.config.good_job
end