From 5199c45dfbdfa9919aaa3a64535d8216c27b7948 Mon Sep 17 00:00:00 2001 From: Matthew Kent Date: Wed, 24 Oct 2012 23:55:02 -0700 Subject: MIXLIB_SHELLOUT-02: Fix comments about default timeout to avoid confusion. --- lib/mixlib/shellout.rb | 2 +- lib/mixlib/shellout/unix.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb index 8e8b7ea..3b2651c 100644 --- a/lib/mixlib/shellout.rb +++ b/lib/mixlib/shellout.rb @@ -213,7 +213,7 @@ module Mixlib # * Errno::ENOENT when the command is not available on the system (or not # in the current $PATH) # * CommandTimeout when the command does not complete - # within +timeout+ seconds (default: 60s) + # within +timeout+ seconds (default: 600s) def run_command if logger log_message = (log_tag.nil? ? "" : "#@log_tag ") << "sh(#@command)" diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb index 2788db5..a983e05 100644 --- a/lib/mixlib/shellout/unix.rb +++ b/lib/mixlib/shellout/unix.rb @@ -30,7 +30,7 @@ module Mixlib # * Errno::ENOENT when the command is not available on the system (or not # in the current $PATH) # * Chef::Exceptions::CommandTimeout when the command does not complete - # within +timeout+ seconds (default: 60s) + # within +timeout+ seconds (default: 600s) def run_command @child_pid = fork_subprocess -- cgit v1.2.1