milvus/pkg/util/conc
yihao.dai 65dd3982d8
fix: Fix ants.Pool goroutine leak (#41892)
1. Release the pool after it is no longer in use.
2. Upgrade ants.Pool to fix the goroutine leak issue (see [PR
#287](https://github.com/panjf2000/ants/pull/287)).

issue: https://github.com/milvus-io/milvus/issues/41838

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-05-19 17:56:22 +08:00
..
future.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
future_test.go enhance: use WalkWithPrefix api for oss, enable piplined file gc (#31740) 2024-04-25 20:41:27 +08:00
options.go fix: Fix ants.Pool goroutine leak (#41892) 2025-05-19 17:56:22 +08:00
options_test.go Use conc.PoolOption instead of ants.Option (#24585) 2023-06-01 15:52:31 +08:00
pool.go fix: Fix ants.Pool goroutine leak (#41892) 2025-05-19 17:56:22 +08:00
pool_test.go enhance: Use v2 package name for pkg module (#39990) 2025-02-22 23:15:58 +08:00
singleflight.go Merge get worker process for same nodeID (#25185) 2023-06-28 18:34:24 +08:00
singleflight_test.go Fix unstable TestSingleflight unit test (#26363) 2023-08-16 10:07:33 +08:00