diff options
author | Alex Auvolat <alex@adnab.me> | 2022-11-30 10:04:42 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-11-30 10:04:42 +0100 |
commit | e4684ae169fe5d57ce6460d8c836c8714ae1a25a (patch) | |
tree | 44afd3c298d571cf2f7160655a8c86ef79f899bc /cluster | |
parent | 6db4ec531179504d5f8b32f3865489558e77f6ce (diff) | |
download | nixcfg-e4684ae169fe5d57ce6460d8c836c8714ae1a25a.tar.gz nixcfg-e4684ae169fe5d57ce6460d8c836c8714ae1a25a.zip |
staging: reduce litestream memory_max because it uses it all
Diffstat (limited to 'cluster')
-rw-r--r-- | cluster/staging/app/im/deploy/im-nix.hcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cluster/staging/app/im/deploy/im-nix.hcl b/cluster/staging/app/im/deploy/im-nix.hcl index 9cf78e5..4cc3b0e 100644 --- a/cluster/staging/app/im/deploy/im-nix.hcl +++ b/cluster/staging/app/im/deploy/im-nix.hcl @@ -55,7 +55,7 @@ job "im" { resources { memory = 100 - memory_max = 1000 + memory_max = 500 cpu = 1000 } } @@ -174,7 +174,6 @@ AWS_ACCESS_KEY_ID={{ key "secrets/synapse/s3_access_key" | trimSpace }} AWS_SECRET_ACCESS_KEY={{ key "secrets/synapse/s3_secret_key" | trimSpace }} AWS_DEFAULT_REGION=garage-staging S3_ENDPOINT=http://{{ env "attr.unique.network.ip-address" }}:3990 - EOH destination = "secrets/env" env = true @@ -205,7 +204,7 @@ EOH resources { memory = 200 - memory_max = 1000 + memory_max = 200 cpu = 100 } } |