mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
[skip ci]Add rmq consumer impl chan comment (#11531)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
f6b749ec93
commit
2073ae497b
@ -98,6 +98,7 @@ func (c *consumer) MsgMutex() chan struct{} {
|
||||
return c.msgMutex
|
||||
}
|
||||
|
||||
// Chan start consume goroutine and return message channel
|
||||
func (c *consumer) Chan() <-chan ConsumerMessage {
|
||||
c.startOnce.Do(func() {
|
||||
c.client.wg.Add(1)
|
||||
|
Loading…
Reference in New Issue
Block a user