about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2024-01-14 14:11:27 +0100
committerYureka <yuka@yuka.dev>2024-04-02 07:30:12 +0200
commitcfbde8ec8d8f81b53011b14b643584cfb89e980a (patch)
treeb6e475c73348e6d0bee07b7cf56602d03e496a25 /nixos
parentdcd0f499c6e5d5d480a0190bf33e5e361867e69d (diff)
nixos/tests/gitlab: reduce memory usage
Co-Authored-By: Yaya <github@uwu.is>
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/gitlab.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix
index c4d69a56c93ad..52fe588930dfc 100644
--- a/nixos/tests/gitlab.nix
+++ b/nixos/tests/gitlab.nix
@@ -89,6 +89,10 @@ in {
           dbFile = pkgs.writeText "dbsecret" "we2quaeZ";
           jwsFile = pkgs.runCommand "oidcKeyBase" {} "${pkgs.openssl}/bin/openssl genrsa 2048 > $out";
         };
+
+        # reduce memory usage
+        sidekiq.concurrency = 1;
+        puma.workers = 2;
       };
     };
   };