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

rewrite reddit bot to be better selfhostable and less prone to being ratelimited #9

Merged
merged 16 commits into from
Jul 16, 2023

Conversation

topi314
Copy link
Owner

@topi314 topi314 commented Jul 10, 2023

No description provided.

@net-tech
Copy link

With the new Reddit API pricing at $0.24 per 1,000 API calls, how often does this bot call the API to check for new posts?

@net-tech
Copy link

Actually not sure if that's relevant, there seems to be a free API tier

@topi314
Copy link
Owner Author

topi314 commented Jul 10, 2023

This is infact not relevant
It currently operates on the 600 request/10min free tier

It tries to take full advantage of the available ratelimit
So it should always be like 580/10min

I'll add a setting to adjust it later

@topi314 topi314 changed the base branch from v1 to v2 July 16, 2023 23:08
@topi314 topi314 marked this pull request as ready for review July 16, 2023 23:09
@topi314 topi314 merged commit 4d0f315 into v2 Jul 16, 2023
11 checks passed
@topi314 topi314 deleted the rewrite branch July 16, 2023 23:11
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.

2 participants