Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CPU overload when loading many nested containers (opentibiabr#2909)
This addresses an issue where excessive CPU load occurs when dealing with deeply nested containers due to repeated calls to the `isRemoved` function in the `canDecay` method. To mitigate this, the order of checks in `canDecay` has been changed to evaluate the decay conditions first, and only check for removal status (`isRemoved`) as the last step.
- Loading branch information