Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]添加停止整个平台或者某个Target蹲饼的命令 #543

Open
AzideCupric opened this issue May 21, 2024 · 0 comments

Comments

@AzideCupric
Copy link
Collaborator

命令: 停止订阅 <Platform|Target>
效果: 在调度时忽略该平台或者目标,不进行请求
目的: 主要是为了在触发B站风控(使用新Api)后不必关闭掉整个Bison或者手动删除B站的订阅,从而不影响其他平台的蹲饼

初步实现思路以及问题: 可以在scheduler的schedulable_list中添加一个disable以表示是否禁用?但这样缺乏持久化。或者在数据库中也添加一个新字段?那么对整个平台的平台的禁用应该如何实现?为scheduler添加一个disable_platforms进行记录?那么怎么持久化储存?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant