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

rss 源长时间未更新 #107

Closed
bGZo opened this issue Jul 25, 2021 · 2 comments
Closed

rss 源长时间未更新 #107

bGZo opened this issue Jul 25, 2021 · 2 comments

Comments

@bGZo
Copy link

bGZo commented Jul 25, 2021

注意到常看的 V2ex-最热主题 已经有一个月的时间没有更新了.

是Bug吗?(消息在服务器堆积过多了?) 还是刻意地降低了优先级?

image

@guyskk
Copy link
Contributor

guyskk commented Jul 26, 2021

非常感谢反馈!我上午排查了一下,是订阅合并的逻辑有点问题,现在修复了,这些订阅预计1~2小时内就会更新了。

目前有两种情况会做订阅合并:

  1. 当订阅源地址变了,抓取时收到重定向响应,例如源站迁移了域名,http升级为https。此时会将旧订阅合并到新订阅中,并把旧的标记为 "discard",不再更新。
  2. 定时任务检测相同的订阅源,例如有的网站同时支持 http 和 https ,就会有两个相同内容的订阅源,定时任务会检测这种情况,并选择一个为主,其余的标记为 "discard"。

里面的逻辑实际比较复杂,有些情况没考虑周全,导致有些订阅被错误标记为 "discard" 了,然后就没有更新了。
修复方案是合并时不做 "discard" 标记,这样旧的订阅能继续更新,只是多占用一点点服务器资源。

@bGZo
Copy link
Author

bGZo commented Jul 26, 2021

十分迅速地修复! 非常感谢! 我这也显示正常了.😄

@guyskk guyskk closed this as completed Jul 26, 2021
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

2 participants