From e4684ae169fe5d57ce6460d8c836c8714ae1a25a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 30 Nov 2022 10:04:42 +0100 Subject: staging: reduce litestream memory_max because it uses it all --- cluster/staging/app/im/deploy/im-nix.hcl | 5 ++--- 1 file 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 } } -- cgit v1.2.3