lib/good_job/poller.rb in good_job-1.9.1 vs lib/good_job/poller.rb in good_job-1.9.2
- old
+ new
@@ -52,10 +52,9 @@
delegate :shutdown?, to: :timer, allow_nil: true
# Shut down the notifier.
# Use {#shutdown?} to determine whether threads have stopped.
# @param timeout [nil, Numeric] Seconds to wait for active threads.
- #
# * +nil+, the scheduler will trigger a shutdown but not wait for it to complete.
# * +-1+, the scheduler will wait until the shutdown is complete.
# * +0+, the scheduler will immediately shutdown and stop any threads.
# * A positive number will wait that many seconds before stopping any remaining active threads.
# @return [void]