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

[BUG] B 站直播信息在下播后短时间内偶发重复推送 #200

Open
TeemoKill opened this issue Dec 22, 2022 · 3 comments
Open

[BUG] B 站直播信息在下播后短时间内偶发重复推送 #200

TeemoKill opened this issue Dec 22, 2022 · 3 comments
Labels
bug Something isn't working question Further information is requested

Comments

@TeemoKill
Copy link

详细描述
复现步骤:

  1. 提供QQ 账号密码,B 站cookie,以私人模式部署DDBOT 并通过私聊指令配置DDBOT 关注直播间R ,推送到群聊G,同时启用下播通知
  2. 等待可爱的苏趴idol 开播✨
  3. [Expected✅] 开播后群聊G 正常收到开播推送
  4. 等待可爱的苏趴idol 下播💔
  5. [Expected✅] 下播后群聊G 收到下播推送。[Bug⚠️] 偶尔群聊G 会在下播推送后,立刻重新推送开播通知,随后再次推送下播通知。这样的重复推送在下播后短时间内概率发生,并且可能重复推送多次成对的[下播,开播]通知。

判断为B 站直播信息API 在下播后短时间内查询结果不稳定。
已在我个人版本的DDBOT 中对开播信息添加冷却时间判断尝试规避此问题,效果还在观察中。

正常情况应该是这样的
预期行为:
对于关注的直播间R ,如果在群聊G 配置了下播推送,那么:当直播间R 下播时,向群聊G 推送且仅推送一次直播间R 的下播通知。

DDBOT 部署信息
操作系统版本:Ubuntu 20.04
BOT版本:bug 与具体的DDBOT 版本无关

@TeemoKill TeemoKill added bug Something isn't working question Further information is requested labels Dec 22, 2022
@scalpl
Copy link

scalpl commented Jan 11, 2023

一样的问题

@nanaminnn
Copy link

+1 我最近出现在的很频繁

@zhdl889
Copy link

zhdl889 commented Oct 12, 2023

遇到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants