[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: nginx: berlin: Use 16 workers instead of 1 (the default).
From: |
Ludovic Courtès |
Subject: |
01/01: nginx: berlin: Use 16 workers instead of 1 (the default). |
Date: |
Wed, 27 Nov 2019 16:04:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository maintenance.
commit 5715a1325d85620e7f67e82bfec2bb678df5dde0
Author: Ludovic Courtès <address@hidden>
Date: Wed Nov 27 22:03:59 2019 +0100
nginx: berlin: Use 16 workers instead of 1 (the default).
* hydra/nginx/berlin.scm (%extra-content): Add "worker_processes"
directive.
---
hydra/nginx/berlin.scm | 18 ++++++------------
1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index 2947759..0e5e9a1 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -2,18 +2,6 @@
(use-modules (gnu services web))
-;; TODO: these settings cannot currently expressed with Guix:
-
-;; # This is a 72-core machine, but let's not use all of them for nginx.
-;; worker_processes 32;
-;;
-;; error_log /var/log/nginx/error.log error;
-;; pcre_jit on;
-;;
-;; events {
-;; worker_connections 1024;
-;; }
-
(define* (le host #:optional privkey)
@@ -706,6 +694,12 @@ PUBLISH-URL."
(define %extra-content
(list
+ ;; This is a 72-core machine, but let's not use all of them for nginx.
+ "worker_processes 16";
+
+ ;; "pcre_jit on";
+ ;; "events { worker_connections 1024; }"
+
"default_type application/octet-stream;"
"sendfile on;"