fix: jvm opts

This commit is contained in:
s-prechtl 2025-08-05 13:10:45 +02:00
parent 6c9e0efa78
commit 4fba0fb765
2 changed files with 26 additions and 25 deletions

View file

@ -84,6 +84,7 @@ in {
jvmMaxAllocation = "42G"; jvmMaxAllocation = "42G";
jvmInitialAllocation = "2G"; jvmInitialAllocation = "2G";
jvmPackage = pkgs.temurin-bin-17; jvmPackage = pkgs.temurin-bin-17;
jvmOpts = jvmOpts;
rsyncSSHKeys = key; rsyncSSHKeys = key;
@ -101,9 +102,10 @@ in {
sf3 = { sf3 = {
enable = true; enable = true;
jvmMaxAllocation = "42G"; jvmMaxAllocation = "24G";
jvmInitialAllocation = "2G"; jvmInitialAllocation = "2G";
jvmPackage = pkgs.openjdk8-bootstrap; jvmPackage = pkgs.openjdk8-bootstrap;
jvmOpts = jvmOpts;
rsyncSSHKeys = key; rsyncSSHKeys = key;
@ -134,7 +136,6 @@ in {
enable = false; enable = false;
wantedBy = ["timers.target"]; wantedBy = ["timers.target"];
after = ["mc-aged.service"]; after = ["mc-aged.service"];
jvmOpts = jvmOpts;
timerConfig = { timerConfig = {
#OnCalendar = "hourly"; # Change this as needed #OnCalendar = "hourly"; # Change this as needed
OnCalendar = "*:0/15"; # Every 15 minutes OnCalendar = "*:0/15"; # Every 15 minutes