Skip to content

Handle limits above 100 notes for *key instances, handle rate limits #15

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

LunyaPet
Copy link

@LunyaPet LunyaPet commented Jun 15, 2025

This fix is aimed at *key instances (Sharkey, CherryPick) which limit fetching of notes (the /api/users/notes endpoint) to 100 notes per fetch. Here's a list of fixes that I've done:

  • The Misskey note fetcher fetches 100 notes per request, instead of any higher number (if the default parameters are changed above that number). This means that one can change the parameters in the script to e.g. 300 notes (https://fedi-circles.yourwalls.today) and it will still work.
  • Basic rate limiting handling was added, if a rate limit is hit, it will retry the request a bit later. (Sharkey gets triggered a lot when doing this)

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

Successfully merging this pull request may close these issues.

1 participant