创建缓存任务时即使没有有效的Key,也可以在后台查看创建的任务

This commit is contained in:
刘祥超
2023-01-05 17:09:20 +08:00
parent e1c1984fd4
commit e70c49d407
3 changed files with 3 additions and 2 deletions

View File

@@ -21,5 +21,5 @@ const (
NodeVersion = "0.6.0"
// SQLVersion SQL版本号
SQLVersion = "8"
SQLVersion = "9"
)

View File

@@ -206,6 +206,7 @@ func (this *HTTPCacheTaskDAO) UpdateTaskStatus(tx *dbs.Tx, taskId int64, isDone
if isDone {
op.DoneAt = time.Now().Unix()
op.IsReady = true // 让后台列表能列出来
}
return this.Save(tx, op)

File diff suppressed because one or more lines are too long