Skip to content

Commit 155008e

Browse files
author
Tim Meusel
committed
use one nginx thread for each logic core
1 parent 8947e65 commit 155008e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

manifests/unicorn.pp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
$unicorn_package,
3232
$unicorn_path,
3333
){
34-
include nginx
35-
34+
class { '::nginx':
35+
worker_processes => $::processorcount,
36+
}
3637
# if this is provided we install the package from the repo, otherwise we build unicorn from scratch
3738
if $unicorn_package {
3839
package {$unicorn_package:

0 commit comments

Comments
 (0)