minecraft: Limit to a single core instead of limiting the quota

Minecraft is anyway supposed to be single-threaded, so if it goes
beyond one core something is very wrong.
This commit is contained in:
Tristan Daniël Maat 2021-08-27 18:09:43 +01:00
parent 4fe3b8b22b
commit 6bc37ebdae
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -90,7 +90,7 @@ in {
}; };
}; };
extraOptions = [ "--cpu-quota=90000" ]; extraOptions = [ "--cpus=1.0" ];
autoStart = false; autoStart = false;
ports = [ "25565:25565" ]; ports = [ "25565:25565" ];
volumes = [ volumes = [