🎨 数据订正分步执行

This commit is contained in:
Liang Ding 2023-02-07 09:58:13 +08:00
parent bf31293395
commit daaa9e67fd
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 26 additions and 18 deletions

View file

@ -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() {