Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #66 from lzap/two_thins_816188

816188 - installer minimum is 2 thins now
  • Loading branch information...
commit 3c8cfc9c6d93dc3c74796ce9e5de5f4392235250 2 parents a4adb26 + 9af2fc1
@mccun934 mccun934 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 puppet/lib/puppet/parser/functions/katello_process_count.rb
View
4 puppet/lib/puppet/parser/functions/katello_process_count.rb
@@ -27,9 +27,9 @@ module Puppet::Parser::Functions
max_processes = (((total_mem - reserve) / consumes)).floor
notice("Maximum processes: #{max_processes}")
- # safeguard not to have less than 1 or more than max
+ # safeguard not to have less than 2 or more than max
no_processes = max_processes if no_processes > max_processes
- no_processes = 1 if no_processes < 1
+ no_processes = 2 if no_processes < 2
notice("Thin processes: #{no_processes}")
no_processes.to_s
Please sign in to comment.
Something went wrong with that request. Please try again.