summaryrefslogtreecommitdiff
path: root/lib/chef_zero
diff options
context:
space:
mode:
authorJonas Kongslund <jonas@kongslund.net>2015-05-27 00:07:42 +0400
committerJonas Kongslund <jonas@kongslund.net>2015-05-27 00:07:42 +0400
commite18dac65098b3b6156f1d1d4b64fd97ca93b7ba0 (patch)
tree7433bad3f64b5be0d723f0be2e258f0a57b5f008 /lib/chef_zero
parentfdf63f101fd2810ac9159a61fc34f8bb0697bd12 (diff)
downloadchef-zero-e18dac65098b3b6156f1d1d4b64fd97ca93b7ba0.tar.gz
Increase WEBrick request timeout to 300 seconds. Fixes #137
Diffstat (limited to 'lib/chef_zero')
-rw-r--r--lib/chef_zero/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef_zero/server.rb b/lib/chef_zero/server.rb
index 9cf7b39..2b72c67 100644
--- a/lib/chef_zero/server.rb
+++ b/lib/chef_zero/server.rb
@@ -248,6 +248,7 @@ module ChefZero
:DoNotListen => true,
:AccessLog => [],
:Logger => WEBrick::Log.new(StringIO.new, 7),
+ :RequestTimeout => 300,
:SSLEnable => options[:ssl],
:SSLCertName => [ [ 'CN', WEBrick::Utils::getservername ] ],
:StartCallback => proc {