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
1 changed files with 11 additions and 4 deletions

View File

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