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

Option to mitigate rate limits #50

Open
nesges opened this issue Jan 26, 2024 · 0 comments
Open

Option to mitigate rate limits #50

nesges opened this issue Jan 26, 2024 · 0 comments

Comments

@nesges
Copy link

nesges commented Jan 26, 2024

I fetch a lot (>300) of hashtags with GMF which leads to 429 (Too Many Requests) errors on most Mastodon servers:

Error fetching tag traveller from sueden.social, status code: TooManyRequests. Error: Response status code does not indicate success: 429 (Too Many Requests).

The Mastodon API has a default limit of 300 requests per 5 minutes (https://docs.joinmastodon.org/api/rate-limits/). Please add an option to make GMF pause for X seconds every Y tags (e.g. pause 60 seconds after 50 tags, 300 seconds after 300 tags or 1 seconds after 1 tag etc.)

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

1 participant