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]消息提醒有延迟,且有的时候bot会发送较旧的消息 #77

Open
DefSw0rd opened this issue Oct 11, 2023 · 6 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@DefSw0rd
Copy link

DefSw0rd commented Oct 11, 2023

问题描述 Describe the bug
1.bot对部分频道的消息提醒有1分钟到40分钟不等的随机延迟。
2.bot有时会发送频道中的一些旧消息

例如:
1.例程中的频道:
在12:06发送了“哈哈哈优惠来咯”,在12:43发送了“不买立即节省百分百”.
keyword_bot在12:46才同时发出上述两条消息的警告提示。

2.频道早在9月16日便发了“会员便宜百分之20”,916当天bot也及时做到了提醒。
但是bot却在10月11日将这个老消息又推送了一遍。

上述问题的产生是建立在bot已经订阅了70+个频道的前提下,所订阅的频道均使用简单正则表达式捕获多个双字关键词,关键词有约20+个,均为双字中文单词,并无视大小写。

订阅信息 command Info
(以上演示的问题采用下面的订阅信息例子,仅为示例。)

/subscribe /优惠|节省|便宜|策略/i https://t.me/tianfutong

@DefSw0rd DefSw0rd added the bug Something isn't working label Oct 11, 2023
@DefSw0rd DefSw0rd changed the title [BUG]消息更新有延迟,且有的时候bot会发送较旧的消息 [BUG]消息提醒有延迟,且有的时候bot会发送较旧的消息 Oct 11, 2023
@Hootrix
Copy link
Owner

Hootrix commented Oct 19, 2023

有段时间没看tg 空了测试下

建议自行部署

@DefSw0rd
Copy link
Author

是用的自己部署的bot,不是您提供的公共bot

@DefSw0rd
Copy link
Author

如果需要debug级别的log日志的话,我可以提供的

@DefSw0rd
Copy link
Author

问题更严重了。。。现在有些频道根本就不提醒含有关键词的消息了

@Hootrix
Copy link
Owner

Hootrix commented Jun 28, 2024

这几天看日志消息有接收延迟,暂时没发现监听延迟。

  • 服务器网络相关
  • 依赖问题

不知道还有没其他更好的办法

@hyperbolic-c
Copy link

您好,请问您使用的是什么代理,我用的代理总是提示Connection to Telegram failed 5 time(s),连接不上,可以分享一下吗?谢谢!

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

No branches or pull requests

3 participants