Hello fedi. i am trying to solve the "fetch all replies" problem once and for all that makes the fedi feel a lot more desolate and with a lot more reply guys in it than it should be. this is take two, where before i had it triggered by a button, but now i think it should happen on the server-side whenever you expand a post. can anyone help me out figure out how to make this more efficient by only fetching posts that the server doesn't already have? i am not sure what the best strategy would be, and if anyone with experience doing efficient rails and SQL stuff could give me some pointers that would be gr8. the patch is actually extremely simple it just needs a few nice things to make it not DDoS everyone.
https://github.com/NeuromatchAcademy/mastodon/pull/44
Issue that describes approach: https://github.com/NeuromatchAcademy/mastodon/issues/43
Wiki page: https://wiki.neuromatch.social/Fetch_All_Replies
#MastoDev #FediDev #FetchAllReplies
Fetch All Replies v2 - Service Edition by sneakers-the-rat · Pull Request #44 · NeuromatchAcademy/mastodon
Fix: #43 Opening this as a draft for now, discussion/description at #43 TODO: Rate limiting: only want to get some replies, but there isn't any pagination in the context endpoint. Need to figure ...GitHub