aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-01-10 23:25:48 +0100
committerAlex Auvolat <alex@adnab.me>2022-01-10 23:25:48 +0100
commit1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb (patch)
tree1afb656d520d207ed1863462bd29efdc24e5f1a5
parent60f65552d24a78140a9cf6dfcdba2d4ae3dd8b6c (diff)
downloadnixcfg-1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb.tar.gz
nixcfg-1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb.zip
change resource allocation for im
-rw-r--r--app/im/deploy/im.hcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/im/deploy/im.hcl b/app/im/deploy/im.hcl
index df1dade..7951fe2 100644
--- a/app/im/deploy/im.hcl
+++ b/app/im/deploy/im.hcl
@@ -17,7 +17,7 @@ job "im" {
restart {
attempts = 10
- delay = "60s"
+ delay = "30s"
}
task "restore-db" {
@@ -44,7 +44,7 @@ job "im" {
}
resources {
- memory = 1000
+ memory = 200
cpu = 1000
}
}
@@ -84,7 +84,7 @@ job "im" {
}
resources {
- memory = 1500
+ memory = 2500
cpu = 1000
}
@@ -152,7 +152,7 @@ EOH
}
resources {
- memory = 500
+ memory = 200
cpu = 100
}
}