Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
因B站粉丝牌升级任务规则更新,新规则同一时间只允许在一个直播间挂机,该规则严重拉长了程序执行的总时长,当粉丝牌较多时,一天24小时可能无法完成所有粉丝牌的升级任务。
此次修改通过将需要执行任务的粉丝牌按照白名单输入的顺序重新排序,从而达到通过手动修改配置文件白名单即可调整任务执行优先级的目的。用户可将自己认为重要的粉丝牌放在白名单靠前的位置即可优先执行升级任务。
因为我牌子很多,而且经常手动跑,如果不能调整优先级,又想确保某些牌子的任务能完成,就得经常手动去改配置文件,先把高优先级的放白名单,等全部完成以后,再把低优先级的换进去,会非常麻烦。
update: 之前PR #191 的commit被我错误地提交到fork的master分支上了,而github又不能改PR来源端的分支,只能重新提一个PR,非常抱歉。