提交 9fd453d7 编写于 作者: H Hongze Cheng

more code

上级 2f57c843
...@@ -791,9 +791,9 @@ static int32_t tsdbFSScheduleBgTaskImpl(STFileSystem *fs, EFSBgTaskT type, int32 ...@@ -791,9 +791,9 @@ static int32_t tsdbFSScheduleBgTaskImpl(STFileSystem *fs, EFSBgTaskT type, int32
} }
// check if same task is on // check if same task is on
if (fs->bgTaskRunning && fs->bgTaskRunning->type == type) { // if (fs->bgTaskRunning && fs->bgTaskRunning->type == type) {
return 0; // return 0;
} // }
for (STFSBgTask *task = fs->bgTaskQueue->next; task != fs->bgTaskQueue; task = task->next) { for (STFSBgTask *task = fs->bgTaskQueue->next; task != fs->bgTaskQueue; task = task->next) {
if (task->type == type) { if (task->type == type) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册