milvus/pkg/util/lifetime
congqixia af5c01082b
Refine delegator lifetime control (#26881)
- Add SafeChan interface in lifetime package
- Embed SafeChan into  interface
- Replace private lifetime struct in delegator package with
- Refine delegator on-going task lifetime control and wait all accepted task done
- Fix potential goroutine leakage from  if delegator closed concurrently

/kind improvement

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-09-07 10:11:15 +08:00
..
lifetime_test.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
lifetime.go Refine delegator lifetime control (#26881) 2023-09-07 10:11:15 +08:00
safe_chan_test.go Refine delegator lifetime control (#26881) 2023-09-07 10:11:15 +08:00
safe_chan.go Refine delegator lifetime control (#26881) 2023-09-07 10:11:15 +08:00