refactor: do some internal refactor.
This commit is contained in:
parent
98758862cf
commit
dc1a0821a7
|
@ -828,12 +828,12 @@ static void tryLaunchHistoryTask(void* param, void* tmrId) {
|
||||||
} else {
|
} else {
|
||||||
checkFillhistoryTaskStatus(pTask, pHTask);
|
checkFillhistoryTaskStatus(pTask, pHTask);
|
||||||
streamMetaReleaseTask(pMeta, pHTask);
|
streamMetaReleaseTask(pMeta, pHTask);
|
||||||
}
|
|
||||||
|
|
||||||
// not in timer anymore
|
// not in timer anymore
|
||||||
int32_t ref = atomic_sub_fetch_32(&pTask->status.timerActive, 1);
|
int32_t ref = atomic_sub_fetch_32(&pTask->status.timerActive, 1);
|
||||||
stDebug("s-task:0x%x fill-history task launch completed, retry times:%d, ref:%d", (int32_t)pInfo->id.taskId,
|
stDebug("s-task:0x%x fill-history task launch completed, retry times:%d, ref:%d", (int32_t)pInfo->id.taskId,
|
||||||
pHTaskInfo->retryTimes, ref);
|
pHTaskInfo->retryTimes, ref);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
streamMetaReleaseTask(pMeta, pTask);
|
streamMetaReleaseTask(pMeta, pTask);
|
||||||
|
|
Loading…
Reference in New Issue