diff options
Diffstat (limited to 'lib/chef/config.rb')
-rw-r--r-- | lib/chef/config.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/chef/config.rb b/lib/chef/config.rb index 0df9b4d62d..35b07c24ea 100644 --- a/lib/chef/config.rb +++ b/lib/chef/config.rb @@ -552,8 +552,11 @@ class Chef # immediately if 0.) default :run_lock_timeout, nil - # Number of worker threads for syncing cookbooks in parallel. - default :cookbook_sync_threads, 20 + # Number of worker threads for syncing cookbooks in parallel. Increasing + # this number can result in gateway errors from the server (namely 503 and 504). + # If you are seeing this behavior while using the default setting, reducing + # the number of threads will help. + default :cookbook_sync_threads, 10 # If installed via an omnibus installer, this gives the path to the # "embedded" directory which contains all of the software packaged with |