mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-12-10 12:10:26 +08:00
创建缓存任务时即使没有有效的Key,也可以在后台查看创建的任务
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user