From 3a94bbe804f29ce7fb09fdd22975ee12a73ee81f Mon Sep 17 00:00:00 2001 From: s809 <43530948+s809@users.noreply.github.com> Date: Fri, 7 Feb 2025 23:23:15 +0500 Subject: [PATCH] Reduce queue size back to improve responsiveness --- .../core/file/fullDatafile/FullDataSourceProviderV2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/FullDataSourceProviderV2.java b/core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/FullDataSourceProviderV2.java index 0ce27b5df..7f7d8e988 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/FullDataSourceProviderV2.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/file/fullDatafile/FullDataSourceProviderV2.java @@ -68,7 +68,7 @@ public class FullDataSourceProviderV2 private static final Logger LOGGER = DhLoggerBuilder.getLogger(); private static final IMinecraftClientWrapper MC_CLIENT = SingletonInjector.INSTANCE.get(IMinecraftClientWrapper.class); - protected static final int NUMBER_OF_PARENT_UPDATE_TASKS_PER_THREAD = 20; + protected static final int NUMBER_OF_PARENT_UPDATE_TASKS_PER_THREAD = 5; /** how many parent update tasks can be in the queue at once */ protected static int getMaxUpdateTaskCount() { return NUMBER_OF_PARENT_UPDATE_TASKS_PER_THREAD* Config.Common.MultiThreading.numberOfThreads.get(); }