9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-25 01:49:16 +00:00

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>
This commit is contained in:
Creeam
2025-02-06 15:12:44 -08:00
committed by Dreeam
parent 175ff6feeb
commit c963bb3315
7 changed files with 108 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ on:
push:
branches: [ "dev/1.21.4" ]
pull_request:
branches: [ "ver/1.21.4" ]
branches: [ "dev/1.21.4" ]
jobs:
build: