global

def watchdog_sleep_time

def watchdog_sleep_time
  usec = Integer(ENV["WATCHDOG_USEC"])
  sec_f = usec / 1_000_000.0
  # "It is recommended that a daemon sends a keep-alive notification message
  # to the service manager every half of the time returned here."
  sec_f / 2
end