lib/good_job/adapter.rb in good_job-4.5.1 vs lib/good_job/adapter.rb in good_job-4.6.0
- old
+ new
@@ -214,9 +214,10 @@
# @return [void]
def start_async
return unless execute_async?
@capsule.start
+ @capsule.lower_thread_priority = true if GoodJob.configuration.lower_thread_priority.in?([true, nil])
@_async_started = true
end
# Whether the async executors are running
# @return [Boolean]