[skip ci]Add rmq consumer impl MsgMutex comment (#11532)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11534/head
yukun 2021-11-09 21:13:37 +08:00 committed by GitHub
parent 2073ae497b
commit 5ec895fedc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ func (c *consumer) Topic() string {
return c.topic
}
// MsgMutex return the message mutex channel of consumer
func (c *consumer) MsgMutex() chan struct{} {
return c.msgMutex
}