-
Notifications
You must be signed in to change notification settings - Fork 9
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] Output rss.xml is not ordered by pubDate #26
Comments
Hi @LeslieLeung , thanks for reaching out here. 这里确实错误地使用了 flatMap 导致最终排序不稳定,如果换成 concatMap 应该可以解决问题。如果 @LeslieLeung 有兴趣的话, 非常欢迎提交 PR 修复这个问题。
/good-first-issue |
@JohnNiang: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
related issues: halo-dev#26
输出的RSS没有按照时间排序,见 https://ameow.xyz/rss.xml 。
可能是以下这个地方使用了 map 导致丢失了顺序。
https://github.com/halo-dev/plugin-feed/blob/0c648ca49e7415a2d19d565b9f095d6e439b4061/src/main/java/run/halo/feed/FeedServiceImpl.java#L154C14-L154C21
The text was updated successfully, but these errors were encountered: