From 968876b440aef97ebd0ece876e0169bf8a7ede76 Mon Sep 17 00:00:00 2001 From: Yureka Date: Sun, 14 Jan 2024 14:11:27 +0100 Subject: nixos/tests/gitlab: reduce memory usage Co-Authored-By: Yaya (cherry picked from commit 718026ea6d9a7fa7e17590204c71eb4bd162b5d2) --- 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; }; }; }; -- cgit v1.2.3