[skip ci]Add rmq retention comment (#11344)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11350/head
yukun 2021-11-05 21:53:22 +08:00 committed by GitHub
parent 09d16dc9a0
commit 425c7e09d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ func (ri *retentionInfo) retention() error {
}
}
// Stop close channel and stop retention
func (ri *retentionInfo) Stop() {
ri.closeOnce.Do(func() {
close(ri.closeCh)