lib/good_job/configuration.rb in good_job-1.9.3 vs lib/good_job/configuration.rb in good_job-1.9.4

- old
+ new

@@ -82,12 +82,12 @@ # be grouped into {Scheduler} instances. See # {file:README.md#optimize-queues-threads-and-processes} for more details # on the format of this string. # @return [String] def queue_string - options[:queues] || - rails_config[:queues] || - env['GOOD_JOB_QUEUES'] || + options[:queues].presence || + rails_config[:queues].presence || + env['GOOD_JOB_QUEUES'].presence || '*' end # The number of seconds between polls for jobs. GoodJob will execute jobs # on queues continuously until a queue is empty, at which point it will