prod: more agressive restart on core services

This commit is contained in:
Alex 2022-12-01 17:03:20 +01:00
parent 9d0a2d8914
commit 195e340f56
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -23,8 +23,8 @@ job "core" {
} }
restart { restart {
interval = "30m" interval = "5m"
attempts = 2 attempts = 10
delay = "15s" delay = "15s"
mode = "delay" mode = "delay"
} }
@ -97,8 +97,8 @@ EOH
} }
restart { restart {
interval = "30m" interval = "5m"
attempts = 2 attempts = 10
delay = "15s" delay = "15s"
mode = "delay" mode = "delay"
} }
@ -177,6 +177,13 @@ EOH
] ]
} }
restart {
interval = "5m"
attempts = 10
delay = "15s"
mode = "delay"
}
resources { resources {
memory = 100 memory = 100
memory_max = 200 memory_max = 200