From cfbde8ec8d8f81b53011b14b643584cfb89e980a Mon Sep 17 00:00:00 2001 From: Yureka Date: Sun, 14 Jan 2024 14:11:27 +0100 Subject: [PATCH] nixos/tests/gitlab: reduce memory usage Co-Authored-By: Yaya --- nixos/tests/gitlab.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix index c4d69a56c93a..52fe588930df 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; }; }; };