module Idlc::Deploy::Power
def check_timeout(start_time, timeout)
def check_timeout(start_time, timeout) elapsed_time = Time.now - start_time raise ConnectionError, 'Exceeded Timeout for Completion..' if elapsed_time.to_i >= timeout end
def check_timeout(start_time, timeout) elapsed_time = Time.now - start_time raise ConnectionError, 'Exceeded Timeout for Completion..' if elapsed_time.to_i >= timeout end