Is this something I should be worried about? (PriorityTaskPicker Thread, Uncaught exception)
Minecraft 1.21.5
fabric-server-mc.1.21.5-loader.0.16.13-launcher.1.0.3
with
DistantHorizons-neoforge-fabric-2.3.2-b-1.21.5
fabric-api-0.120.0+1.21.5
"[05:20:42] [DH-PriorityTaskPicker Thread[33409]/ERROR]: Uncaught exception in thread "DH-PriorityTaskPicker Thread[33409]"
java.util.concurrent.RejectedExecutionException: Task com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable@11852bf2 rejected from com.seibel.distanthorizons.core.util.threading.RateLimitedThreadPoolExecutor@65b6f69b[Running, pool size = 4, active threads = 4, queued tasks = 4, completed tasks = 149756]
at java.base/java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2081) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:841) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1376) ~[?:?]
at knot/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.tryStartNextTask(PriorityTaskPicker.java:78) ~[DistantHorizons-neoforge-fabric-2.3.2-b-1.21.5.jar:?]
at knot/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker.access$200(PriorityTaskPicker.java:17) ~[DistantHorizons-neoforge-fabric-2.3.2-b-1.21.5.jar:?]
at knot/com.seibel.distanthorizons.core.util.threading.PriorityTaskPicker$TrackedRunnable.run(PriorityTaskPicker.java:217) ~[DistantHorizons-neoforge-fabric-2.3.2-b-1.21.5.jar:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:1583) [?:?]"
Solution:Jump to solution
I searched after posting and found that "acki022"
Had the same/similar issue and they solved it by changing the threads specified in the config
So I set it to 2
as I think my host only has 8 cores/threads
https://discord.com/channels/881614130614767666/1356712885400764509/1358021569187938364...
1 Reply
Solution
I searched after posting and found that "acki022"
Had the same/similar issue and they solved it by changing the threads specified in the config
So I set it to 2
as I think my host only has 8 cores/threads
https://discord.com/channels/881614130614767666/1356712885400764509/1358021569187938364
https://discord.com/channels/881614130614767666/1356712885400764509/1358027016288600177