lib/good_job/configuration.rb in good_job-2.15.2 vs lib/good_job/configuration.rb in good_job-2.16.0
- old
+ new
@@ -117,9 +117,13 @@
else
DEFAULT_POLL_INTERVAL
end
end
+ def inline_execution_respects_schedule?
+ !!rails_config[:inline_execution_respects_schedule]
+ end
+
# The maximum number of future-scheduled jobs to store in memory.
# Storing future-scheduled jobs in memory reduces execution latency
# at the cost of increased memory usage. 10,000 stored jobs = ~20MB.
# @return [Integer]
def max_cache