From 6bc37ebdae3fe3e54455aefcad659f5759997033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Fri, 27 Aug 2021 18:09:43 +0100 Subject: [PATCH] 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. --- configuration/services/minecraft.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/services/minecraft.nix b/configuration/services/minecraft.nix index 826ecd9..af5c75f 100644 --- a/configuration/services/minecraft.nix +++ b/configuration/services/minecraft.nix @@ -90,7 +90,7 @@ in { }; }; - extraOptions = [ "--cpu-quota=90000" ]; + extraOptions = [ "--cpus=1.0" ]; autoStart = false; ports = [ "25565:25565" ]; volumes = [