add log to trace timer wheel processing
This commit is contained in:
parent
8f65f43872
commit
6f6acd2e85
|
@ -342,6 +342,7 @@ static void taosTimerLoopFunc(int signo) {
|
|||
int64_t now = taosGetTimestampMs();
|
||||
|
||||
for (int i = 0; i < tListLen(wheels); i++) {
|
||||
tmrTrace("begin processing wheel %d", i);
|
||||
// `expried` is a temporary expire list.
|
||||
// expired timers are first add to this list, then move
|
||||
// to expired queue as a batch to improve performance.
|
||||
|
@ -389,6 +390,7 @@ static void taosTimerLoopFunc(int signo) {
|
|||
}
|
||||
|
||||
addToExpired(expired);
|
||||
tmrTrace("end processing wheel %d", i);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue