fix: multiple unsequenced modifications
This commit is contained in:
parent
dffdbb53f6
commit
ec4b4923e8
|
@ -42,7 +42,7 @@ static void *dmStatusThreadFp(void *param) {
|
||||||
taosMemoryTrim(0);
|
taosMemoryTrim(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((upTimeCount = (++upTimeCount & 63)) == 0) {
|
if ((upTimeCount = ((upTimeCount + 1) & 63)) == 0) {
|
||||||
upTime = taosGetOsUptime() - tsDndStartOsUptime;
|
upTime = taosGetOsUptime() - tsDndStartOsUptime;
|
||||||
tsDndUpTime = TMAX(tsDndUpTime, upTime);
|
tsDndUpTime = TMAX(tsDndUpTime, upTime);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue