mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint for loadBalanceSegmentLoop (#13302)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/13110/head
parent
127c5a1971
commit
7c18be6e08
|
@ -446,7 +446,7 @@ func (qc *QueryCoord) loadBalanceSegmentLoop() {
|
||||||
ctx, cancel := context.WithCancel(qc.loopCtx)
|
ctx, cancel := context.WithCancel(qc.loopCtx)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
defer qc.loopWg.Done()
|
defer qc.loopWg.Done()
|
||||||
log.Debug("query coordinator start load balance segment loop")
|
log.Debug("QueryCoord start load balance segment loop")
|
||||||
|
|
||||||
timer := time.NewTicker(time.Duration(Params.BalanceIntervalSeconds) * time.Second)
|
timer := time.NewTicker(time.Duration(Params.BalanceIntervalSeconds) * time.Second)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue