diff options
author | Alex Auvolat <alex@adnab.me> | 2022-01-10 23:25:48 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-01-10 23:25:48 +0100 |
commit | 1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb (patch) | |
tree | 1afb656d520d207ed1863462bd29efdc24e5f1a5 | |
parent | 60f65552d24a78140a9cf6dfcdba2d4ae3dd8b6c (diff) | |
download | nixcfg-1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb.tar.gz nixcfg-1cbdfa9d5b8cd7df824c66a2f5ebd7806430bddb.zip |
change resource allocation for im
-rw-r--r-- | app/im/deploy/im.hcl | 8 |
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 } } |