-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Lemmy's All tab will randomly start spamming Active posts which dont seem to be active #3008
Comments
This is happening constantly and is super annoying, it makes the main feed basically unusable as it just jumps around constantly and has no logic to it at all. It's not the CreatePostLike operation that does add new posts thoguh, it is actually "CreatePost" which seems to randomly happen for no reason at all the entire time: |
Lemmy seems to append new posts to the post list whenever a CreatePost message comes through, no matter what. I think the intended behavior is that this should only happen when sorting by New? Otherwise just ignore any CreatePost messages. |
I've also noticed this. The posts aren't strictly newer ones either, sometimes they're months or years old. They usually come in waves, where all of the posts in that wave are from the same community. I feel like this might be caused by the instance discovering a new community or updating it's data on an already known community, but for some reason the data also gets pushed to users. New posts should probably never even be added to your feed automatically. They should only change if you refresh the page. This is also a pretty big problem if you leave lemmy open in a tab in your browser, it quickly eats all of your RAM. |
I think it is related to this file https://github.com/LemmyNet/lemmy/blob/main/crates/routes/src/feeds.rs I am not super familiar with the codebase but I am a software engineer for my job, and the way it is getting the feed by community is likely causing the issue since it seems to populate one community at a time. |
This is from websocket. Will be removed in 0.18.0 |
Issue Summary
When i'm viewing/scrolling through the Active posts on the All tab Lemmy will suddenly and randomly start spamming me with posts which often have no comments or upvotes at all and will often be months or years old.
Steps to Reproduce
I've recorded a short demo:
demo.mp4
Technical details
I'm using the lemmy.ml instance
My browser console is being spammed with these logs when it quieted down a bit:
The text was updated successfully, but these errors were encountered: