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

Limit number of toots per Hour #20

Open
gitbenb opened this issue Oct 11, 2020 · 2 comments
Open

Limit number of toots per Hour #20

gitbenb opened this issue Oct 11, 2020 · 2 comments

Comments

@gitbenb
Copy link

gitbenb commented Oct 11, 2020

This may be a feature request since I don't find any mentions of limits in the code ?

My idea was to have some kind of limiter, queue, to have the bot to toot only x times per hour, most mastodon instance that allow bots (newsbots.eu or botsin.space) request bot makers to not overload the instance, I think a config param to control this would allow to make bots that are more user friendly and more respectful of the instance rules/code of conduct.

@notklaatu
Copy link
Contributor

I just submitted a merge request #41 that imposes a random delay (between 10 and 30 seconds) between posts. This isn't exactly what you're requesting, but in my experience servers often ban bots because of rapid posts, not number of over-all posts, so your problem may be solved my code.

@notklaatu
Copy link
Contributor

Assuming my PR is merged, the command is feediverse -d to cause a 10-30 second delay between posts.

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

2 participants