From 7e15d0e71ea1f9ba9a585757a62ee27bd9ed0a7c Mon Sep 17 00:00:00 2001 From: cy Date: Sat, 4 Jan 2025 22:24:38 -0500 Subject: [PATCH] try to make gitlab eat less ram --- hosts/chunk/gitlab.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/chunk/gitlab.nix b/hosts/chunk/gitlab.nix index 91f36d8..7bcc80c 100644 --- a/hosts/chunk/gitlab.nix +++ b/hosts/chunk/gitlab.nix @@ -8,7 +8,7 @@ group = "git"; port = 443; # this *not* the port gitlab will run on puma.workers = 0; # https://docs.gitlab.com/omnibus/settings/memory_constrained_envs.html#optimize-puma - sidekiq.concurrency = 10; + sidekiq.concurrency = 5; databaseUsername = "git"; # needs to be same as user initialRootEmail = "hi@cything.io"; initialRootPasswordFile = config.sops.secrets."gitlab/root".path; @@ -24,5 +24,9 @@ skip = [ "db" ]; keepTime = 48; # hours }; + extraConfig = { + gitlab.default_theme = 11; + prometheus.enabled = false; + }; }; }