bnThread: dummy commit to make CI happy
This commit is contained in:
parent
490caa967b
commit
935d41b1f7
|
@ -122,8 +122,7 @@ static void bnProcessTimer(void *handle, void *tmrId) {
|
|||
void bnStartTimer(int32_t mseconds) {
|
||||
if (tsBnThread.stop) return;
|
||||
|
||||
bool updateSoon = (mseconds != -1);
|
||||
if (updateSoon) {
|
||||
if (mseconds != -1) {
|
||||
mTrace("balance function will be called after %d ms", mseconds);
|
||||
taosTmrReset(bnProcessTimer, mseconds, (void *)(int64_t)mseconds, tsMnodeTmr, &tsBnThread.timer);
|
||||
} else {
|
||||
|
@ -132,5 +131,5 @@ void bnStartTimer(int32_t mseconds) {
|
|||
}
|
||||
|
||||
void bnNotify() {
|
||||
bnStartTimer(500);
|
||||
bnStartTimer(10);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue