whyour / qinglong

支持 Python3、JavaScript、Shell、Typescript 的定时任务管理平台(Timed task management platform supporting Python3, JavaScript, Shell, Typescript)
https://qinglong.online
Apache License 2.0
16.43k stars 2.99k forks source link

自动更新订阅时,会错误的重复添加定时任务,导致队列中任务数量过度,cpu占用率高 #2422

Closed QYC-Unity closed 2 months ago

QYC-Unity commented 5 months ago

Qinglong version

2.17.6

Steps to reproduce

在订阅管理中设置定时拉取 获取更新时出现异常 其他脚本的data文件夹下scripts文件夹里出现其他订阅的文件夹,且嵌套创建

What is expected?

异常拉取时不会产生嵌套任务导致cpu占用过高

What is actually happening?

产生大量的嵌套任务,占用cpu资源导致系统卡死崩溃 log.txt

System Info

No response

Any additional comments?

No response

whyour commented 2 months ago

最新版已增加的单个任务运行中的实例上限,并会进行告警,应该跟订阅没关系