refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2024-01-13 00:19:46 +08:00
parent 98758862cf
commit dc1a0821a7
1 changed files with 5 additions and 5 deletions

View File

@ -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);