summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-02-26 18:28:24 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-02-26 18:28:24 -0800
commit7686c0b15c309d97d490d04927a1bd8e89b1d5cb (patch)
tree1b619ffa8776722a74d7783a37a0d9853f8904c4
parent2d09b0f9e6aac3d9c0affee8979203206124ef5c (diff)
downloadchef-7686c0b15c309d97d490d04927a1bd8e89b1d5cb.tar.gz
Add a configurable timeout for windows service
-rw-r--r--lib/chef/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index 57dcd01c98..8392f1b93f 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -644,6 +644,7 @@ class Chef
default :override_attribute_whitelist, nil
config_context :windows_service do
+ default :watchdog_timeout, Mixlib::ShellOut::DEFAULT_READ_TIMEOUT
end
# Chef requires an English-language UTF-8 locale to function properly. We attempt