9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-28 03:19:21 +00:00
Commit Graph

310 Commits

Author SHA1 Message Date
Creeam
c963bb3315 Async task handling improvement (#209)
* All threads are core thread

* Drop later submitted pathfinding tasks if task before is not started yet

* Auto-resize is gone

* Refine error handling

* Handle rejected execution

* Limit size and schedule on EntityScheduler

* Allow pr to build

* Remove duplicate path handling
Since it's a very rare case and Kaiiju has already done something to handle this

* Update thread and logger name format

* Core pool to 1

* Revert entity scheduler changes

* Expose queue size to config

* Add reject policy config to pathfinding

* [ci/skip] To uppercase

* [ci/skip] Add co-authors

---------

Co-authored-by: Taiyou06 <kaandindar21@gmail.com>
Co-authored-by: Altiami <yoshimo.kristin@gmail.com>
2025-02-06 15:12:44 -08:00
Dreeam
75eb088cc3 [ci skip] cleanup work finished 2025-02-03 20:45:19 -05:00
Dreeam
47847ebd51 [ci skip] cleanup 2025-01-30 16:03:24 -05:00
Dreeam
0b2da17697 Cleanup MultithreadedTracker deeper 2025-01-29 21:02:42 -05:00
Creeam
58cf07704c Auto resize tracker thread pool (#208)
* Cleanup sort

* auto resize

* Limit queue size and add RejectedExecutionHandler

* Flush queue on task rejection

* Move to inner class

* Math.max to choose higher one
2025-01-29 17:58:47 -08:00
Dreeam
26565ea357 [ci skip] cleanup 2025-01-24 04:51:24 -05:00
Dreeam
b9e1eac3a0 [ci skip] cleanup 2025-01-23 17:13:35 -05:00
Dreeam
ffd718f6bf [ci skip] cleanup 2025-01-21 07:14:02 -05:00
Dreeam
2ad76ae0a5 Fix incorrect Minecraft -> Bukkit entity type cache obtain and update & Remove removed patches source 2025-01-19 04:17:14 -05:00
Dreeam
97c4794444 Move directory 2025-01-18 10:44:55 -05:00