From 11ce54da4c9aecc83b4a61c9601ecb139bfc3685 Mon Sep 17 00:00:00 2001 From: hayanesuru Date: Thu, 1 May 2025 22:32:18 +0800 Subject: [PATCH] default queueSize to 4096 --- .../dreeam/leaf/config/modules/async/AsyncTargetFinding.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf-server/src/main/java/org/dreeam/leaf/config/modules/async/AsyncTargetFinding.java b/leaf-server/src/main/java/org/dreeam/leaf/config/modules/async/AsyncTargetFinding.java index ea66a4d5..bd26abb4 100644 --- a/leaf-server/src/main/java/org/dreeam/leaf/config/modules/async/AsyncTargetFinding.java +++ b/leaf-server/src/main/java/org/dreeam/leaf/config/modules/async/AsyncTargetFinding.java @@ -39,7 +39,7 @@ public class AsyncTargetFinding extends ConfigModules { alertOther = config.getBoolean(getBasePath() + ".async-alert-other", true); searchBlock = config.getBoolean(getBasePath() + ".async-search-block", true); searchEntity = config.getBoolean(getBasePath() + ".async-search-entity", true); - queueSize = config.getInt(getBasePath() + ".queue-size", 100_000); + queueSize = config.getInt(getBasePath() + ".queue-size", 4096); if (queueSize <= 0) { queueSize = 4096; }