summaryrefslogtreecommitdiff
path: root/lib/chef/config.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-05-13 14:58:44 -0700
committerClaire McQuin <claire@getchef.com>2014-05-13 15:26:34 -0700
commitb04bb6cdf1cf7ca8902a7ff9a6f9d8aaae3fcaf1 (patch)
treea5890cc05ad249d641874766dc983bbeb93fa64e /lib/chef/config.rb
parent0ec0e7f2599a6aa16633c0ee79cadb5c1cb65e1c (diff)
downloadchef-b04bb6cdf1cf7ca8902a7ff9a6f9d8aaae3fcaf1.tar.gz
Add config option for parallel cookbook sync.
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r--lib/chef/config.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb
index f9a3289b30..0df9b4d62d 100644
--- a/lib/chef/config.rb
+++ b/lib/chef/config.rb
@@ -552,6 +552,9 @@ class Chef
# immediately if 0.)
default :run_lock_timeout, nil
+ # Number of worker threads for syncing cookbooks in parallel.
+ default :cookbook_sync_threads, 20
+
# If installed via an omnibus installer, this gives the path to the
# "embedded" directory which contains all of the software packaged with
# omnibus. This is used to locate the cacert.pem file on windows.