prod: more agressive restart on core services
This commit is contained in:
parent
9d0a2d8914
commit
195e340f56
1 changed files with 11 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue