diff options
Diffstat (limited to 'Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch')
-rw-r--r-- | Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch b/Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch index f49c070349..7b0b0deaa8 100644 --- a/Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch +++ b/Spigot-Server-Patches/0051-Configurable-Chunk-IO-Thread-Base-Count.patch @@ -1,11 +1,11 @@ -From 2a6a8a92552ab6784e8995cfca8f38973f10064a Mon Sep 17 00:00:00 2001 +From 551087a24681a0f47c192a5a3c40355a4efbdfa1 Mon Sep 17 00:00:00 2001 From: Zach Brown <[email protected]> Date: Wed, 2 Mar 2016 23:46:57 -0600 Subject: [PATCH] Configurable Chunk IO Thread Base Count diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java -index f9a4bf4..1ea409d 100644 +index 87bae87..9ab6445 100644 --- a/src/main/java/com/destroystokyo/paper/PaperConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java @@ -192,4 +192,9 @@ public class PaperConfig { @@ -14,7 +14,7 @@ index f9a4bf4..1ea409d 100644 } + + public static int minChunkLoadThreads = 2; -+ public static void chunkLoadThreads() { ++ private static void chunkLoadThreads() { + minChunkLoadThreads = Math.min(6, getInt("settings.min-chunk-load-threads", 2)); // Keep people from doing stupid things with max of 6 + } } @@ -39,5 +39,5 @@ index e4fd9bc..7b7a3d0 100644 private static final AsynchronousExecutor<QueuedChunk, Chunk, Runnable, RuntimeException> instance = new AsynchronousExecutor<QueuedChunk, Chunk, Runnable, RuntimeException>(new ChunkIOProvider(), BASE_THREADS); -- -2.8.2 +2.8.3.windows.1 |