lib/good_job/poller.rb in good_job-2.11.3 vs lib/good_job/poller.rb in good_job-2.12.0
- old
+ new
@@ -4,16 +4,13 @@
module GoodJob # :nodoc:
#
# Pollers regularly wake up execution threads to check for new work.
#
class Poller
- TIMEOUT_INTERVAL = 5
-
# Defaults for instance of Concurrent::TimerTask.
# The timer controls how and when sleeping threads check for new work.
DEFAULT_TIMER_OPTIONS = {
execution_interval: Configuration::DEFAULT_POLL_INTERVAL,
- timeout_interval: TIMEOUT_INTERVAL,
run_now: true,
}.freeze
# @!attribute [r] instances
# @!scope class