mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 数据订正分步执行
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user