Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nginx/manifests/params.pp

Issue 29323735: Issue 2912 - Let $nginx::worker_processes default to $::processorcount (Closed)
Patch Set: Created Aug. 17, 2015, 2:40 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/nginx/manifests/params.pp
diff --git a/modules/nginx/manifests/params.pp b/modules/nginx/manifests/params.pp
index 0ef7d7b858a714293b6cb48310300c621c37017f..9025d2301ce55fe6a2f22201b11bb32ec0a70746 100644
--- a/modules/nginx/manifests/params.pp
+++ b/modules/nginx/manifests/params.pp
@@ -1,5 +1,5 @@
class nginx::params {
- $worker_processes = 2
+ $worker_processes = $::processorcount
$worker_connections = 1024
$multi_accept = off
$worker_rlimit_nofile = 30000
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld