about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authornetali <me@netali.de>2023-12-14 18:03:22 +0100
committernetali <me@netali.de>2023-12-14 18:03:22 +0100
commit6fe98c3cc8617d43008dec60aa3b7cc921459688 (patch)
tree677a22525085a618aca2520dc191faffa8a5fb2e /nixos
parentdc2b6d2af401041dfb6351f72582ad4a078a0b6f (diff)
downloadnixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar.gz
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar.bz2
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar.lz
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar.xz
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.tar.zst
nixlib-6fe98c3cc8617d43008dec60aa3b7cc921459688.zip
nixos/tests/zammad: set memory limit to 2048 MB
It seems like Zammad and the postgreSQL need more then 1 GB memory after
the update to Zammad 6.2.0. So this commit sets the memory limit to 2 GB.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/zammad.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/tests/zammad.nix b/nixos/tests/zammad.nix
index 1b2f24594699..faae1949e37b 100644
--- a/nixos/tests/zammad.nix
+++ b/nixos/tests/zammad.nix
@@ -7,6 +7,10 @@ import ./make-test-python.nix (
     meta.maintainers = with lib.maintainers; [ taeer n0emis netali ];
 
     nodes.machine = { config, ... }: {
+      virtualisation = {
+        memorySize = 2048;
+      };
+
       services.zammad.enable = true;
       services.zammad.secretKeyBaseFile = pkgs.writeText "secret" ''
         52882ef142066e09ab99ce816ba72522e789505caba224a52d750ec7dc872c2c371b2fd19f16b25dfbdd435a4dd46cb3df9f82eb63fafad715056bdfe25740d6