change resource allocation for im

This commit is contained in:
Alex 2022-01-10 23:25:48 +01:00
parent 60f65552d2
commit 1cbdfa9d5b
No known key found for this signature in database
GPG key ID: EDABF9711E244EB1

View file

@ -17,7 +17,7 @@ job "im" {
restart { restart {
attempts = 10 attempts = 10
delay = "60s" delay = "30s"
} }
task "restore-db" { task "restore-db" {
@ -44,7 +44,7 @@ job "im" {
} }
resources { resources {
memory = 1000 memory = 200
cpu = 1000 cpu = 1000
} }
} }
@ -84,7 +84,7 @@ job "im" {
} }
resources { resources {
memory = 1500 memory = 2500
cpu = 1000 cpu = 1000
} }
@ -152,7 +152,7 @@ EOH
} }
resources { resources {
memory = 500 memory = 200
cpu = 100 cpu = 100
} }
} }