aboutsummaryrefslogtreecommitdiff
path: root/app/garage/deploy/garage.hcl
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-08 16:34:41 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-08 16:34:41 +0100
commitb42e42faaa4db3123106d8d7342100b4681096b7 (patch)
tree7babc26af18ce7ceeefbbb70cec3117652557c5a /app/garage/deploy/garage.hcl
parentd6bdfbed5fc8b35cb10d6092625c1d1cd78d30d3 (diff)
downloadinfrastructure-b42e42faaa4db3123106d8d7342100b4681096b7.tar.gz
infrastructure-b42e42faaa4db3123106d8d7342100b4681096b7.zip
Improve resource allocation
Diffstat (limited to 'app/garage/deploy/garage.hcl')
-rw-r--r--app/garage/deploy/garage.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/garage/deploy/garage.hcl b/app/garage/deploy/garage.hcl
index a52f660..fa1f446 100644
--- a/app/garage/deploy/garage.hcl
+++ b/app/garage/deploy/garage.hcl
@@ -1,7 +1,7 @@
job "garage" {
datacenters = ["dc1", "belair", "saturne"]
type = "system"
- priority = 40
+ priority = 80
constraint {
attribute = "${attr.cpu.arch}"
@@ -18,7 +18,7 @@ job "garage" {
update {
max_parallel = 1
min_healthy_time = "30s"
- healthy_deadline = "10m"
+ healthy_deadline = "5m"
}
task "server" {