lib/orchestration/service_check.rb in orchestration-0.4.6 vs lib/orchestration/service_check.rb in orchestration-0.4.7

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true module Orchestration class ServiceCheck - ATTEMPT_LIMIT = 10 - RETRY_INTERVAL = 3 # seconds + ATTEMPT_LIMIT = ENV.fetch('ORCHESTRATION_RETRY_LIMIT', '10').to_i + RETRY_INTERVAL = ENV.fetch('ORCHESTRATION_RETRY_INTERVAL', '5').to_i def initialize(service, terminal, options = {}) @service = service @service_name = service.service_name @terminal = terminal