Skip to content

Commit

Permalink
Revert "Increase default pool_size to 4"
Browse files Browse the repository at this point in the history
This reverts commit f9f801b.
  • Loading branch information
justinstoller committed May 5, 2020
1 parent b2bce62 commit a55536c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/r10k/puppetfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Puppetfile

include R10K::Settings::Mixin

def_setting_attr :pool_size, 4
def_setting_attr :pool_size, 1

include R10K::Logging

Expand Down
4 changes: 2 additions & 2 deletions lib/r10k/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def self.global_settings
}),

Definition.new(:pool_size, {
:desc => "The amount of threads used to concurrently install modules. The default value is 4: install four modules at a time.",
:default => 4,
:desc => "The amount of threads used to concurrently install modules. The default value is 1: install one module at a time.",
:default => 1,
:validate => lambda do |value|
if !value.is_a?(Integer)
raise ArgumentError, "The pool_size setting should be an integer, not a #{value.class}"
Expand Down

0 comments on commit a55536c

Please sign in to comment.