mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 数据订正分步执行
This commit is contained in:
parent
bf31293395
commit
daaa9e67fd
2 changed files with 26 additions and 18 deletions
|
@ -98,7 +98,6 @@ var uniqueActions = []string{
|
|||
RepoCheckout,
|
||||
DatabaseIndexFull,
|
||||
DatabaseIndexCommit,
|
||||
DatabaseIndexFix,
|
||||
OCRImage,
|
||||
HistoryGenerateDoc,
|
||||
DatabaseIndexEmbedBlock,
|
||||
|
@ -197,7 +196,7 @@ func execTask(task *Task) {
|
|||
|
||||
currentTaskAction = task.Action
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
|
||||
defer cancel()
|
||||
ch := make(chan bool, 1)
|
||||
go func() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue