Commit graph

2 commits

Author SHA1 Message Date
Max
ccb1a9404c Refactor Trace module to mitigate goroutine leaks and reduce memory growth
- Update KNOWN_ISSUES.md to reflect the mitigation of goroutine leaks and reduced memory growth, detailing the current status and residual behaviors.
- Enhance the state worker lifecycle in manager.go to ensure proper command processing and cleanup.
- Implement a safe three-step shutdown sequence in trace.go for the Release function, improving resource management and preventing premature exits.
- Adjust memory leak test thresholds in KNOWN_ISSUES.md to accommodate improved performance metrics.
2026-02-22 20:37:02 +08:00
Max
fb4be8cb80 Update Memory Leak Test Comments and Thresholds
- Adjusted comments in the memory leak tests to clarify the rationale behind the threshold increase to 20KB, ensuring better understanding of expected memory behavior.
- Increased the memory growth threshold per iteration in the tests to accommodate higher usage observed in business scenarios, enhancing the accuracy of leak detection.
2025-12-22 11:45:17 +08:00