summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2024-01-14 14:11:27 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-04-02 05:30:41 +0000
commit968876b440aef97ebd0ece876e0169bf8a7ede76 (patch)
tree773685f9f22b2ffc81c1830d53733bb116fb2a4b
parentnixos/gitlab: Add option sidekiq.concurrency. (diff)
downloadnixpkgs-origin/backport-300229-to-release-23.11.tar.gz
nixos/tests/gitlab: reduce memory usageorigin/backport-300229-to-release-23.11
Co-Authored-By: Yaya <github@uwu.is> (cherry picked from commit 718026ea6d9a7fa7e17590204c71eb4bd162b5d2)
-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 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;
};
};
};