summaryrefslogtreecommitdiff
path: root/lib/bundler/installer.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/installer.rb')
-rw-r--r--lib/bundler/installer.rb13
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb
index 700f0a4737..a8b42840ac 100644
--- a/lib/bundler/installer.rb
+++ b/lib/bundler/installer.rb
@@ -204,18 +204,7 @@ module Bundler
return 1 unless can_install_in_parallel?
- auto_config_jobs = Bundler.feature_flag.auto_config_jobs?
- if jobs = Bundler.settings[:jobs]
- if auto_config_jobs
- jobs
- else
- [jobs.pred, 1].max
- end
- elsif auto_config_jobs
- processor_count
- else
- 1
- end
+ Bundler.settings[:jobs] || processor_count
end
def processor_count