mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Test: aria2 task monitor
Fix: tmp file not deleted after transfer task failed to create
This commit is contained in:
@@ -72,7 +72,7 @@ func (service *AddURLService) Add(c *gin.Context, taskType int) serializer.Respo
|
||||
}
|
||||
|
||||
// 创建任务监控
|
||||
monitor.NewMonitor(task)
|
||||
monitor.NewMonitor(task, cluster.Default, mq.GlobalMQ)
|
||||
|
||||
return serializer.Response{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user