aboutsummaryrefslogtreecommitdiff
path: root/cluster
diff options
context:
space:
mode:
authorAdrien <adrien@luxeylab.net>2023-02-20 16:43:29 +0100
committerAdrien <adrien@luxeylab.net>2023-02-20 16:43:29 +0100
commita4eb0b2b56fdbe416077fdc77b76cd9efe98814d (patch)
tree30b1af61b70f14700d1334c6da8c39687edb33be /cluster
parent0b1fccac1cf01dbe3ee871d406bb8a9c310931ad (diff)
downloadnixcfg-a4eb0b2b56fdbe416077fdc77b76cd9efe98814d.tar.gz
nixcfg-a4eb0b2b56fdbe416077fdc77b76cd9efe98814d.zip
increased jitsi's priority so that it is above Matrix's
Diffstat (limited to 'cluster')
-rw-r--r--cluster/prod/app/jitsi/deploy/jitsi.hcl2
-rw-r--r--cluster/prod/app/matrix/deploy/im.hcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl
index 523a88d..56274b4 100644
--- a/cluster/prod/app/jitsi/deploy/jitsi.hcl
+++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl
@@ -2,7 +2,7 @@ job "jitsi" {
datacenters = ["neptune", "orion"]
type = "service"
- priority = "10"
+ priority = 50
constraint {
attribute = "${attr.cpu.arch}"
diff --git a/cluster/prod/app/matrix/deploy/im.hcl b/cluster/prod/app/matrix/deploy/im.hcl
index 339fea7..5bc6e13 100644
--- a/cluster/prod/app/matrix/deploy/im.hcl
+++ b/cluster/prod/app/matrix/deploy/im.hcl
@@ -1,7 +1,7 @@
job "matrix" {
datacenters = ["orion"]
type = "service"
- priority = 60
+ priority = 40
group "matrix" {
count = 1