mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
♻️ 改进后台任务判断重复
This commit is contained in:
parent
83afeb5a8b
commit
23df378a32
2 changed files with 8 additions and 4 deletions
|
|
@ -157,7 +157,7 @@ func loadTreeByBlockID(id string) (ret *parse.Tree, err error) {
|
|||
|
||||
bt := treenode.GetBlockTree(id)
|
||||
if nil == bt {
|
||||
if task.ContainIndexTask() {
|
||||
if task.ContainIndexTask(task.DatabaseIndex, task.DatabaseIndexFull) {
|
||||
err = ErrIndexing
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue