Fix checker using default interval after manual check (#26953)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/26974/head
congqixia 2023-09-09 08:29:16 +08:00 committed by GitHub
parent 44f308fff5
commit 758aad705d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ func (controller *CheckerController) StartChecker(ctx context.Context, checkerTy
case <-controller.manualCheckChs[checkerType]:
ticker.Stop()
controller.check(ctx, checkerType)
ticker.Reset(Params.QueryCoordCfg.CheckInterval.GetAsDuration(time.Millisecond))
ticker.Reset(interval)
}
}
}