guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: hydra: bayfront: Use 8 worker processes for NGinx.


From: Christopher Baines
Subject: 01/02: hydra: bayfront: Use 8 worker processes for NGinx.
Date: Tue, 21 Dec 2021 06:57:39 -0500 (EST)

cbaines pushed a commit to branch master
in repository maintenance.

commit 4a887342296a22be0ebfe8ccd82f99366bc79c10
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Tue Dec 21 11:42:21 2021 +0000

    hydra: bayfront: Use 8 worker processes for NGinx.
    
    This increases the number of concurrent requests it can handle.
    
    * hydra/bayfront.scm (services): Alter the nginx-configuration to run
    8 worker processes.
---
 hydra/bayfront.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index ea7fc54..628f937 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -858,6 +858,9 @@ access_log  /var/log/nginx/bordeaux.access.log;"))
 
     (service nginx-service-type
              (nginx-configuration
+              (global-directives
+               '((events . ())
+                 (worker_processes . 8)))
               (extra-content %bayfront-nginx-service-extra-config)
               (upstream-blocks
                (list (nginx-upstream-configuration



reply via email to

[Prev in Thread] Current Thread [Next in Thread]