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

发送消息失败后能否尝试隔一段时间后重新发送 #452

Closed
hutuY opened this issue Jul 13, 2023 · 2 comments
Closed

发送消息失败后能否尝试隔一段时间后重新发送 #452

hutuY opened this issue Jul 13, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@hutuY
Copy link

hutuY commented Jul 13, 2023

功能需求

07-13 20:41:48 [ERROR] ELF_RSS2 | E: ActionFailed(data=None, echo='1035', message='send group message failed: blocked by server', msg='SEND_MSG_API_ERROR', retcode=100, status='failed', wording='send group message failed: blocked by server')
消息发送失败!
发送消息失败后能否尝试隔一段时间后重新发送

理由

消息发送失败之后不会重新发送,从而错过消息

@hutuY hutuY added the enhancement New feature or request label Jul 13, 2023
@NekoAria
Copy link
Collaborator

NekoAria commented Jul 14, 2023

事实上是有重试机制的,不过具体来说,有分两种情况:

  1. 对其中一个订阅者消息发送失败,之后并不会重试

  2. 对这个订阅的所有订阅者全部发送失效,才会判定为发送失败,在下次检查更新的时候,会再次尝试发送一次,如果还是失败,后续就不管了

@NekoAria
Copy link
Collaborator

NekoAria commented Jul 14, 2023

而且,第二种情况会在下次重试发送失败的时候,立马尝试发送一条带消息链接的错误提示信息

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

No branches or pull requests

2 participants