nixos/gitlab: switch from sidekiq to sidekiq-cluster
This commit is contained in:
parent
c031ea4adc
commit
1bada61543
1 changed files with 8 additions and 1 deletions
|
@ -1439,6 +1439,8 @@ in {
|
|||
nodejs
|
||||
gnupg
|
||||
|
||||
"${cfg.packages.gitlab}/share/gitlab/vendor/gems/sidekiq-${cfg.packages.gitlab.rubyEnv.gems.sidekiq.version}"
|
||||
|
||||
# Needed for GitLab project imports
|
||||
gnutar
|
||||
gzip
|
||||
|
@ -1452,7 +1454,12 @@ in {
|
|||
TimeoutSec = "infinity";
|
||||
Restart = "always";
|
||||
WorkingDirectory = "${cfg.packages.gitlab}/share/gitlab";
|
||||
ExecStart="${cfg.packages.gitlab.rubyEnv}/bin/sidekiq -C \"${cfg.packages.gitlab}/share/gitlab/config/sidekiq_queues.yml\" -e production";
|
||||
ExecStart = utils.escapeSystemdExecArgs [
|
||||
"${cfg.packages.gitlab}/share/gitlab/bin/sidekiq-cluster"
|
||||
"-e" "production"
|
||||
"-r" "."
|
||||
"*" # all queue groups
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue